.class public Lcom/nemustech/tiffany/world/TFEffect;
.super Ljava/lang/Object;
.source "TFEffect.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/nemustech/tiffany/world/TFEffect$AnimationEventListener;,
        Lcom/nemustech/tiffany/world/TFEffect$OnDialogBitmapListener;,
        Lcom/nemustech/tiffany/world/TFEffect$TwistParam;,
        Lcom/nemustech/tiffany/world/TFEffect$Genie;,
        Lcom/nemustech/tiffany/world/TFEffect$Sink;,
        Lcom/nemustech/tiffany/world/TFEffect$PageOver;,
        Lcom/nemustech/tiffany/world/TFEffect$Transition;,
        Lcom/nemustech/tiffany/world/TFEffect$Model;,
        Lcom/nemustech/tiffany/world/TFEffect$Status;
    }
.end annotation


# static fields
.field private static final STATUS_BAR_BOTTOM:I = 0x2

.field private static final STATUS_BAR_NONE:I = 0x0

.field private static final STATUS_BAR_TOP:I = 0x1

.field static final TAG:Ljava/lang/String; = "TFEffect"


# instance fields
.field private cameraZ:F

.field private mActive:Z

.field private mActivityWindow:Landroid/view/Window;

.field private mAnimationEventListener:Lcom/nemustech/tiffany/world/TFEffect$AnimationEventListener;

.field private mBD:Landroid/graphics/drawable/Drawable;

.field private mBackBitmap:[Landroid/graphics/Bitmap;

.field private mBitmap:[Landroid/graphics/Bitmap;

.field private mBlending:Z

.field private mCanvas:Landroid/graphics/Canvas;

.field private mChild2DView:[Landroid/widget/ImageView;

.field private mChildView:[Landroid/view/View;

.field private mChildViewUseFull:Z

.field private mContext:Landroid/content/Context;

.field private mCoverImage:Landroid/graphics/Bitmap;

.field private mDecorLayout:Landroid/widget/FrameLayout;

.field private mDepthTest:Z

.field mDialogBitmapListener:Lcom/nemustech/tiffany/world/TFEffect$OnDialogBitmapListener;

.field private mDragMode:Z

.field private mEconomic:Z

.field private mEffect2DAnimationEnd:Ljava/lang/Runnable;

.field private mEffectFinishCnt:I

.field private mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

.field public mEffectInterpolator:Landroid/view/animation/Interpolator;

.field private mEffectKind:I

.field private mEffectWindow:Lcom/nemustech/tiffany/world/TFWindow;

.field private mEffectWindowCleaningCnt:I

.field private mEndIndex:I

.field private mGeniePanel:Lcom/nemustech/tiffany/world/TFFlexiblePanel;

.field private mHandler:Landroid/os/Handler;

.field private mOneWayAnimation:Z

.field private mPFBD:Landroid/graphics/drawable/Drawable;

.field private mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

.field private mParam1:I

.field private mParam2:I

.field mProcessModel:Lcom/nemustech/tiffany/world/TFObject;

.field private mRecycleSafe:[Z

.field private mReflectingFloorExist:Z

.field private mReverse:Z

.field private mStartIndex:I

.field private mStartTick:J

.field private mStatusBarHeight:I

.field private mStatusBarStatus:I

.field private mStopping:Z

.field private mSurfaceView:Lcom/nemustech/tiffany/world/TFView;

.field private mSurfaceViewKeyListener:Landroid/view/View$OnKeyListener;

.field private mTitleHeight:I

.field private mTouchableMode:Z

.field private mTranslucent:Z

.field protected mTwistParam:Lcom/nemustech/tiffany/world/TFEffect$TwistParam;

.field private mUIViewParent:Landroid/view/ViewGroup;

.field private mUnitPanelHeight:F

.field private mUnitPanelWidth:F

.field private mViewHeight:I

.field private mViewOffsetX:I

.field private mViewOffsetY:I

.field private mViewWidth:I

.field private mWindowMgr:Landroid/view/WindowManager;

.field private mWorld:Lcom/nemustech/tiffany/world/TFWorld;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 11
    .parameter "context"

    .prologue
    const/4 v10, 0x1

    const/4 v9, 0x0

    const/4 v6, 0x0

    const/4 v8, 0x2

    .line 97
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 1737
    new-instance v5, Lcom/nemustech/tiffany/world/TFEffect$17;

    invoke-direct {v5, p0}, Lcom/nemustech/tiffany/world/TFEffect$17;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffect2DAnimationEnd:Ljava/lang/Runnable;

    .line 2911
    new-instance v5, Lcom/nemustech/tiffany/world/TFEffect$33;

    invoke-direct {v5, p0}, Lcom/nemustech/tiffany/world/TFEffect$33;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mSurfaceViewKeyListener:Landroid/view/View$OnKeyListener;

    .line 2981
    iput-object v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectInterpolator:Landroid/view/animation/Interpolator;

    .line 3042
    iput-object v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mCanvas:Landroid/graphics/Canvas;

    .line 3045
    iput-boolean v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStopping:Z

    .line 3049
    iput-boolean v10, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTouchableMode:Z

    .line 3060
    iput-object v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTwistParam:Lcom/nemustech/tiffany/world/TFEffect$TwistParam;

    .line 99
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    .line 100
    .local v3, startTick:J
    const-string v5, "TFEffect"

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    const-string v7, "TFEffect creation start on "

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 102
    const-string v5, "window"

    invoke-virtual {p1, v5}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroid/view/WindowManager;

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWindowMgr:Landroid/view/WindowManager;

    .line 103
    move-object v0, p1

    check-cast v0, Landroid/app/Activity;

    move-object v5, v0

    invoke-virtual {v5}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v5

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mActivityWindow:Landroid/view/Window;

    .line 104
    new-instance v5, Lcom/nemustech/tiffany/world/TFWindow;

    invoke-direct {v5, p1}, Lcom/nemustech/tiffany/world/TFWindow;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectWindow:Lcom/nemustech/tiffany/world/TFWindow;

    .line 105
    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectWindow:Lcom/nemustech/tiffany/world/TFWindow;

    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mActivityWindow:Landroid/view/Window;

    invoke-virtual {v6}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v6

    invoke-virtual {v5, v6}, Lcom/nemustech/tiffany/world/TFWindow;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    .line 106
    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectWindow:Lcom/nemustech/tiffany/world/TFWindow;

    invoke-virtual {v5}, Lcom/nemustech/tiffany/world/TFWindow;->getDecorView()Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/FrameLayout;

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDecorLayout:Landroid/widget/FrameLayout;

    .line 107
    new-array v5, v8, [Landroid/view/View;

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    .line 108
    new-array v5, v8, [Landroid/widget/ImageView;

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    .line 109
    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    new-instance v6, Landroid/widget/ImageView;

    invoke-direct {v6, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    aput-object v6, v5, v9

    .line 110
    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    new-instance v6, Landroid/widget/ImageView;

    invoke-direct {v6, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    aput-object v6, v5, v10

    .line 111
    new-array v5, v8, [Landroid/graphics/Bitmap;

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    .line 112
    new-array v5, v8, [Landroid/graphics/Bitmap;

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    .line 113
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mContext:Landroid/content/Context;

    .line 114
    new-instance v5, Landroid/os/Handler;

    invoke-direct {v5}, Landroid/os/Handler;-><init>()V

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mHandler:Landroid/os/Handler;

    .line 116
    new-array v5, v8, [Z

    iput-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mRecycleSafe:[Z

    .line 118
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFEffect;->init()V

    .line 120
    invoke-static {}, Lcom/nemustech/tiffany/world/TFUtils;->loadLibrary()V

    .line 121
    invoke-static {}, Ljava/lang/System;->gc()V

    .line 123
    invoke-static {p1}, Lcom/nemustech/tiffany/world/TFJniUtils;->verifyContext(Landroid/content/Context;)V

    .line 125
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v5

    sub-long v1, v5, v3

    .line 126
    .local v1, duration:J
    const-string v5, "TFEffect"

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    const-string v7, "TFEffect created taking "

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, " !!!!!!!!!!!!!!!!!!!!!!!"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 127
    return-void
.end method

.method static synthetic access$000(Lcom/nemustech/tiffany/world/TFEffect;)[Landroid/view/View;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$100(Lcom/nemustech/tiffany/world/TFEffect;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    return v0
.end method

.method static synthetic access$1000(Lcom/nemustech/tiffany/world/TFEffect;)Lcom/nemustech/tiffany/world/TFWorld;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    return-object v0
.end method

.method static synthetic access$1002(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFWorld;)Lcom/nemustech/tiffany/world/TFWorld;
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 33
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    return-object p1
.end method

.method static synthetic access$1102(Lcom/nemustech/tiffany/world/TFEffect;Z)Z
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 33
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStopping:Z

    return p1
.end method

.method static synthetic access$1200(Lcom/nemustech/tiffany/world/TFEffect;)Landroid/os/Handler;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$1300(Lcom/nemustech/tiffany/world/TFEffect;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    return v0
.end method

.method static synthetic access$1400(Lcom/nemustech/tiffany/world/TFEffect;)F
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    return v0
.end method

.method static synthetic access$1500(Lcom/nemustech/tiffany/world/TFEffect;)J
    .locals 2
    .parameter "x0"

    .prologue
    .line 33
    iget-wide v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartTick:J

    return-wide v0
.end method

.method static synthetic access$1600(Lcom/nemustech/tiffany/world/TFEffect;)Lcom/nemustech/tiffany/world/TFEffect$AnimationEventListener;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mAnimationEventListener:Lcom/nemustech/tiffany/world/TFEffect$AnimationEventListener;

    return-object v0
.end method

.method static synthetic access$1700(Lcom/nemustech/tiffany/world/TFEffect;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectKind:I

    return v0
.end method

.method static synthetic access$1800(Lcom/nemustech/tiffany/world/TFEffect;)Z
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mReverse:Z

    return v0
.end method

.method static synthetic access$1900(Lcom/nemustech/tiffany/world/TFEffect;)Z
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mOneWayAnimation:Z

    return v0
.end method

.method static synthetic access$200(Lcom/nemustech/tiffany/world/TFEffect;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    return v0
.end method

.method static synthetic access$2000(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFModel;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 33
    invoke-direct {p0, p1}, Lcom/nemustech/tiffany/world/TFEffect;->prvOnFinishEffect(Lcom/nemustech/tiffany/world/TFModel;)V

    return-void
.end method

.method static synthetic access$2100(Lcom/nemustech/tiffany/world/TFEffect;)I
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishCnt:I

    return v0
.end method

.method static synthetic access$2108(Lcom/nemustech/tiffany/world/TFEffect;)I
    .locals 2
    .parameter "x0"

    .prologue
    .line 33
    iget v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishCnt:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishCnt:I

    return v0
.end method

.method static synthetic access$2200(Lcom/nemustech/tiffany/world/TFEffect;[Lcom/nemustech/tiffany/world/TFModel;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 33
    invoke-direct {p0, p1}, Lcom/nemustech/tiffany/world/TFEffect;->prvOnFinishEffect([Lcom/nemustech/tiffany/world/TFModel;)V

    return-void
.end method

.method static synthetic access$2300(Lcom/nemustech/tiffany/world/TFEffect;)Z
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildViewUseFull:Z

    return v0
.end method

.method static synthetic access$2400(Lcom/nemustech/tiffany/world/TFEffect;)[Landroid/widget/ImageView;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$2500(Lcom/nemustech/tiffany/world/TFEffect;)Ljava/lang/Runnable;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffect2DAnimationEnd:Ljava/lang/Runnable;

    return-object v0
.end method

.method static synthetic access$2600(Lcom/nemustech/tiffany/world/TFEffect;)Lcom/nemustech/tiffany/world/TFFlexiblePanel;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mGeniePanel:Lcom/nemustech/tiffany/world/TFFlexiblePanel;

    return-object v0
.end method

.method static synthetic access$2702(Lcom/nemustech/tiffany/world/TFEffect;Z)Z
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 33
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBlending:Z

    return p1
.end method

.method static synthetic access$2800(Lcom/nemustech/tiffany/world/TFPagePanel;F)I
    .locals 1
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 33
    invoke-static {p0, p1}, Lcom/nemustech/tiffany/world/TFEffect;->getMaxDegree(Lcom/nemustech/tiffany/world/TFPagePanel;F)I

    move-result v0

    return v0
.end method

.method static synthetic access$2900(Lcom/nemustech/tiffany/world/TFEffect;)Lcom/nemustech/tiffany/world/TFPagePanel;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    return-object v0
.end method

.method static synthetic access$300(Lcom/nemustech/tiffany/world/TFEffect;)Z
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTranslucent:Z

    return v0
.end method

.method static synthetic access$400(Lcom/nemustech/tiffany/world/TFEffect;)Lcom/nemustech/tiffany/world/TFView;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    return-object v0
.end method

.method static synthetic access$500(Lcom/nemustech/tiffany/world/TFEffect;)Landroid/widget/FrameLayout;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDecorLayout:Landroid/widget/FrameLayout;

    return-object v0
.end method

.method static synthetic access$600(Lcom/nemustech/tiffany/world/TFEffect;)Landroid/view/WindowManager;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWindowMgr:Landroid/view/WindowManager;

    return-object v0
.end method

.method static synthetic access$700(Lcom/nemustech/tiffany/world/TFEffect;)[Landroid/graphics/Bitmap;
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    return-object v0
.end method

.method static synthetic access$800(Lcom/nemustech/tiffany/world/TFEffect;)[Z
    .locals 1
    .parameter "x0"

    .prologue
    .line 33
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mRecycleSafe:[Z

    return-object v0
.end method

.method static synthetic access$902(Lcom/nemustech/tiffany/world/TFEffect;Z)Z
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 33
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mActive:Z

    return p1
.end method

.method private calcDegree(FFFF)F
    .locals 8
    .parameter "x"
    .parameter "y"
    .parameter "startX"
    .parameter "startY"

    .prologue
    .line 2847
    sub-float v3, p3, p1

    .line 2848
    .local v3, dx:F
    sub-float v6, p4, p2

    neg-float v4, v6

    .line 2849
    .local v4, dy:F
    mul-float v6, v3, v3

    mul-float v7, v4, v4

    add-float/2addr v6, v7

    float-to-double v6, v6

    invoke-static {v6, v7}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v6

    double-to-float v1, v6

    .line 2850
    .local v1, distance:F
    div-float v2, v3, v1

    .line 2851
    .local v2, dot_x:F
    float-to-double v6, v2

    invoke-static {v6, v7}, Ljava/lang/Math;->acos(D)D

    move-result-wide v6

    invoke-static {v6, v7}, Ljava/lang/Math;->toDegrees(D)D

    move-result-wide v6

    double-to-float v5, v6

    .line 2852
    .local v5, x_degree:F
    const/4 v6, 0x0

    cmpg-float v6, v4, v6

    if-gez v6, :cond_0

    const/high16 v6, 0x43b4

    sub-float/2addr v6, v5

    move v0, v6

    .line 2853
    .local v0, degree:F
    :goto_0
    return v0

    .end local v0           #degree:F
    :cond_0
    move v0, v5

    .line 2852
    goto :goto_0
.end method

.method private calcTimeline(FFF)F
    .locals 22
    .parameter "x"
    .parameter "y"
    .parameter "degree"

    .prologue
    .line 2791
    invoke-static/range {p3 .. p3}, Ljava/lang/Float;->isNaN(F)Z

    move-result v19

    if-eqz v19, :cond_0

    .line 2792
    const/16 v19, 0x0

    .line 2844
    :goto_0
    return v19

    .line 2794
    :cond_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    move-object/from16 v19, v0

    const/16 v20, 0x0

    aget-object v19, v19, v20

    invoke-virtual/range {v19 .. v19}, Landroid/view/View;->getWidth()I

    move-result v19

    move/from16 v0, v19

    int-to-float v0, v0

    move/from16 v19, v0

    const/high16 v20, 0x4000

    div-float v6, v19, v20

    .line 2795
    .local v6, halfW:F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    move-object/from16 v19, v0

    const/16 v20, 0x0

    aget-object v19, v19, v20

    invoke-virtual/range {v19 .. v19}, Landroid/view/View;->getHeight()I

    move-result v19

    move/from16 v0, v19

    int-to-float v0, v0

    move/from16 v19, v0

    const/high16 v20, 0x4000

    div-float v5, v19, v20

    .line 2797
    .local v5, halfH:F
    const/16 v19, 0xa

    move/from16 v0, v19

    new-array v0, v0, [F

    move-object v9, v0

    const/16 v19, 0x0

    move v0, v6

    neg-float v0, v0

    move/from16 v20, v0

    aput v20, v9, v19

    const/16 v19, 0x1

    move v0, v5

    neg-float v0, v0

    move/from16 v20, v0

    aput v20, v9, v19

    const/16 v19, 0x2

    move v0, v6

    neg-float v0, v0

    move/from16 v20, v0

    aput v20, v9, v19

    const/16 v19, 0x3

    aput v5, v9, v19

    const/16 v19, 0x4

    aput v6, v9, v19

    const/16 v19, 0x5

    move v0, v5

    neg-float v0, v0

    move/from16 v20, v0

    aput v20, v9, v19

    const/16 v19, 0x6

    aput v6, v9, v19

    const/16 v19, 0x7

    aput v5, v9, v19

    const/16 v19, 0x8

    sub-float v20, p1, v6

    aput v20, v9, v19

    const/16 v19, 0x9

    sub-float v20, p2, v5

    move/from16 v0, v20

    neg-float v0, v0

    move/from16 v20, v0

    aput v20, v9, v19

    .line 2804
    .local v9, p:[F
    const v18, 0x7f7fffff

    .line 2805
    .local v18, xMin:F
    const/16 v17, 0x1

    .line 2806
    .local v17, xMax:F
    move/from16 v0, p3

    neg-float v0, v0

    move/from16 v19, v0

    move/from16 v0, v19

    float-to-double v0, v0

    move-wide/from16 v19, v0

    invoke-static/range {v19 .. v20}, Ljava/lang/Math;->toRadians(D)D

    move-result-wide v19

    move-wide/from16 v0, v19

    double-to-float v0, v0

    move v14, v0

    .line 2807
    .local v14, rad:F
    move v0, v14

    float-to-double v0, v0

    move-wide/from16 v19, v0

    invoke-static/range {v19 .. v20}, Ljava/lang/Math;->cos(D)D

    move-result-wide v19

    move-wide/from16 v0, v19

    double-to-float v0, v0

    move v2, v0

    .line 2808
    .local v2, cos:F
    move v0, v14

    float-to-double v0, v0

    move-wide/from16 v19, v0

    invoke-static/range {v19 .. v20}, Ljava/lang/Math;->sin(D)D

    move-result-wide v19

    move-wide/from16 v0, v19

    double-to-float v0, v0

    move v15, v0

    .line 2809
    .local v15, sin:F
    const/4 v7, 0x0

    .local v7, i:I
    :goto_1
    move-object v0, v9

    array-length v0, v0

    move/from16 v19, v0

    div-int/lit8 v19, v19, 0x2

    move v0, v7

    move/from16 v1, v19

    if-ge v0, v1, :cond_3

    .line 2810
    mul-int/lit8 v19, v7, 0x2

    add-int/lit8 v19, v19, 0x0

    aget v11, v9, v19

    .line 2811
    .local v11, px:F
    mul-int/lit8 v19, v7, 0x2

    add-int/lit8 v19, v19, 0x1

    aget v12, v9, v19

    .line 2812
    .local v12, py:F
    mul-int/lit8 v19, v7, 0x2

    add-int/lit8 v19, v19, 0x0

    mul-float v20, v11, v2

    mul-float v21, v12, v15

    sub-float v20, v20, v21

    aput v20, v9, v19

    .line 2813
    mul-int/lit8 v19, v7, 0x2

    add-int/lit8 v19, v19, 0x1

    mul-float v20, v11, v15

    mul-float v21, v12, v2

    add-float v20, v20, v21

    aput v20, v9, v19

    .line 2814
    mul-int/lit8 v19, v7, 0x2

    add-int/lit8 v19, v19, 0x0

    aget v19, v9, v19

    cmpg-float v19, v19, v18

    if-gez v19, :cond_1

    .line 2815
    mul-int/lit8 v19, v7, 0x2

    add-int/lit8 v19, v19, 0x0

    aget v18, v9, v19

    .line 2816
    :cond_1
    mul-int/lit8 v19, v7, 0x2

    add-int/lit8 v19, v19, 0x0

    aget v19, v9, v19

    cmpl-float v19, v19, v17

    if-lez v19, :cond_2

    .line 2817
    mul-int/lit8 v19, v7, 0x2

    add-int/lit8 v19, v19, 0x0

    aget v17, v9, v19

    .line 2809
    :cond_2
    add-int/lit8 v7, v7, 0x1

    goto :goto_1

    .line 2820
    .end local v11           #px:F
    .end local v12           #py:F
    :cond_3
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    move-object/from16 v19, v0

    invoke-virtual/range {v19 .. v19}, Lcom/nemustech/tiffany/world/TFPagePanel;->getPageOverInterpolator()Lcom/nemustech/tiffany/world/TFPagePanel$PageOverInterpolator;

    move-result-object v8

    check-cast v8, Lcom/nemustech/tiffany/world/TFPagePanel$CircularPageOverInterpolator;

    .line 2822
    .local v8, inter:Lcom/nemustech/tiffany/world/TFPagePanel$CircularPageOverInterpolator;
    iget v13, v8, Lcom/nemustech/tiffany/world/TFPagePanel$CircularPageOverInterpolator;->mR:F

    .line 2823
    .local v13, r:F
    const v10, 0x40490fdb

    .line 2824
    .local v10, pi:F
    const/high16 v19, 0x3f80

    const v20, 0x40490fdb

    mul-float v20, v20, v13

    add-float v4, v19, v20

    .line 2825
    .local v4, factor:F
    const/16 v19, 0x8

    aget v19, v9, v19

    sub-float v19, v17, v19

    sub-float v20, v17, v18

    div-float v3, v19, v20

    .line 2827
    .local v3, dl:F
    const v19, 0x40490fdb

    mul-float v19, v19, v13

    cmpg-float v19, v3, v19

    if-gez v19, :cond_4

    .line 2835
    const v19, 0x40490fdb

    mul-float v19, v19, v3

    mul-float v19, v19, v13

    move/from16 v0, v19

    float-to-double v0, v0

    move-wide/from16 v19, v0

    invoke-static/range {v19 .. v20}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v19

    move-wide/from16 v0, v19

    double-to-float v0, v0

    move/from16 v19, v0

    div-float v16, v19, v4

    .local v16, t:F
    :goto_2
    move/from16 v19, v16

    .line 2844
    goto/16 :goto_0

    .line 2842
    .end local v16           #t:F
    :cond_4
    const v19, 0x40490fdb

    mul-float v19, v19, v13

    add-float v19, v19, v3

    const/high16 v20, 0x4000

    div-float v19, v19, v20

    div-float v16, v19, v4

    .restart local v16       #t:F
    goto :goto_2
.end method

.method private static getMaxDegree(Lcom/nemustech/tiffany/world/TFPagePanel;F)I
    .locals 12
    .parameter "p"
    .parameter "timeline"

    .prologue
    const/high16 v9, 0x3f80

    .line 2059
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFPagePanel;->getWidth()F

    move-result v6

    .line 2060
    .local v6, w:F
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFPagePanel;->getHeight()F

    move-result v2

    .line 2062
    .local v2, h:F
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFPagePanel;->getPageOverInterpolator()Lcom/nemustech/tiffany/world/TFPagePanel$PageOverInterpolator;

    move-result-object v3

    check-cast v3, Lcom/nemustech/tiffany/world/TFPagePanel$CircularPageOverInterpolator;

    .line 2063
    .local v3, inter:Lcom/nemustech/tiffany/world/TFPagePanel$CircularPageOverInterpolator;
    const v7, 0x40490fdb

    iget v8, v3, Lcom/nemustech/tiffany/world/TFPagePanel$CircularPageOverInterpolator;->mR:F

    mul-float/2addr v7, v8

    const/high16 v8, 0x4000

    div-float/2addr v7, v8

    add-float v1, v9, v7

    .line 2064
    .local v1, factor:F
    mul-float v4, p1, v1

    .line 2065
    .local v4, t:F
    mul-float v7, v4, v2

    float-to-double v7, v7

    sub-float/2addr v9, v4

    mul-float/2addr v9, v6

    float-to-double v9, v9

    invoke-static {v7, v8, v9, v10}, Ljava/lang/Math;->atan2(DD)D

    move-result-wide v7

    double-to-float v5, v7

    .line 2066
    .local v5, theta:F
    const/16 v7, 0x5a

    float-to-double v8, v5

    invoke-static {v8, v9}, Ljava/lang/Math;->toDegrees(D)D

    move-result-wide v8

    const-wide/high16 v10, 0x3fe0

    add-double/2addr v8, v10

    double-to-int v8, v8

    sub-int v0, v7, v8

    .line 2068
    .local v0, degree:I
    return v0
.end method

.method private getViewLocation(Landroid/view/View;F)[F
    .locals 11
    .parameter "targetView"
    .parameter "heightCenterRatio"

    .prologue
    const/4 v5, 0x2

    const/4 v10, 0x0

    const/high16 v9, 0x4000

    const/4 v8, 0x1

    .line 1622
    new-array v1, v5, [F

    .line 1624
    .local v1, loc:[F
    new-array v4, v5, [I

    .line 1625
    .local v4, viewLocation:[I
    invoke-virtual {p1, v4}, Landroid/view/View;->getLocationOnScreen([I)V

    .line 1626
    aget v5, v4, v8

    iget v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarHeight:I

    iget v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    add-int/2addr v6, v7

    sub-int/2addr v5, v6

    aput v5, v4, v8

    .line 1628
    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mContext:Landroid/content/Context;

    invoke-virtual {v5}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    .line 1629
    .local v0, dm:Landroid/util/DisplayMetrics;
    iget v3, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    .line 1630
    .local v3, screenWidth:I
    iget v5, v0, Landroid/util/DisplayMetrics;->heightPixels:I

    iget v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarHeight:I

    sub-int/2addr v5, v6

    iget v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    sub-int v2, v5, v6

    .line 1631
    .local v2, screenHeight:I
    const-string v5, "TFEffect"

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    const-string v7, "View position x:"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    aget v7, v4, v10

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, " y:"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    aget v7, v4, v8

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1632
    aget v5, v4, v10

    int-to-float v5, v5

    invoke-virtual {p1}, Landroid/view/View;->getWidth()I

    move-result v6

    int-to-float v6, v6

    div-float/2addr v6, v9

    add-float/2addr v5, v6

    int-to-float v6, v3

    div-float/2addr v6, v9

    sub-float/2addr v5, v6

    int-to-float v6, v3

    div-float/2addr v5, v6

    aput v5, v1, v10

    .line 1633
    int-to-float v5, v2

    div-float/2addr v5, v9

    aget v6, v4, v8

    int-to-float v6, v6

    invoke-virtual {p1}, Landroid/view/View;->getHeight()I

    move-result v7

    int-to-float v7, v7

    mul-float/2addr v7, p2

    add-float/2addr v6, v7

    sub-float/2addr v5, v6

    int-to-float v6, v3

    div-float/2addr v5, v6

    aput v5, v1, v8

    .line 1635
    return-object v1
.end method

.method private is2DEffect(I)Z
    .locals 1
    .parameter "effect"

    .prologue
    .line 375
    const/16 v0, 0xe

    if-lt p1, v0, :cond_0

    const/16 v0, 0x13

    if-gt p1, v0, :cond_0

    .line 376
    const/4 v0, 0x1

    .line 379
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private prvOnFinishEffect(Lcom/nemustech/tiffany/world/TFModel;)V
    .locals 2
    .parameter "modelToDetach"

    .prologue
    .line 299
    const/4 v1, 0x1

    new-array v0, v1, [Lcom/nemustech/tiffany/world/TFModel;

    .line 300
    .local v0, modelsToDetach:[Lcom/nemustech/tiffany/world/TFModel;
    const/4 v1, 0x0

    aput-object p1, v0, v1

    .line 301
    invoke-direct {p0, v0}, Lcom/nemustech/tiffany/world/TFEffect;->prvOnFinishEffect([Lcom/nemustech/tiffany/world/TFModel;)V

    .line 302
    return-void
.end method

.method private prvOnFinishEffect([Lcom/nemustech/tiffany/world/TFModel;)V
    .locals 3
    .parameter "modelsToDetach"

    .prologue
    .line 244
    const-string v0, "TFEffect"

    const-string v1, "Transition effect ends."

    invoke-static {v0, v1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 245
    const/4 v0, 0x0

    iput v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishCnt:I

    .line 247
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mAnimationEventListener:Lcom/nemustech/tiffany/world/TFEffect$AnimationEventListener;

    if-eqz v0, :cond_0

    .line 248
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mAnimationEventListener:Lcom/nemustech/tiffany/world/TFEffect$AnimationEventListener;

    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectKind:I

    iget-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mReverse:Z

    invoke-interface {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect$AnimationEventListener;->onAnimationEnd(IZ)V

    .line 251
    :cond_0
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/nemustech/tiffany/world/TFEffect$1;

    invoke-direct {v1, p0, p1}, Lcom/nemustech/tiffany/world/TFEffect$1;-><init>(Lcom/nemustech/tiffany/world/TFEffect;[Lcom/nemustech/tiffany/world/TFModel;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 296
    return-void
.end method

.method private setAnimationWindow()V
    .locals 4

    .prologue
    const/16 v2, 0x10

    .line 774
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTouchableMode:Z

    if-eqz v1, :cond_0

    .line 775
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectWindow:Lcom/nemustech/tiffany/world/TFWindow;

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFWindow;->clearFlags(I)V

    .line 779
    :goto_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectWindow:Lcom/nemustech/tiffany/world/TFWindow;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFWindow;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v0

    .line 780
    .local v0, wl:Landroid/view/WindowManager$LayoutParams;
    const-string v1, "TFEffect"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Window flags:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 782
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarStatus:I

    packed-switch v1, :pswitch_data_0

    .line 793
    :goto_1
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewHeight:I

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->height:I

    .line 794
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWindowMgr:Landroid/view/WindowManager;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDecorLayout:Landroid/widget/FrameLayout;

    invoke-interface {v1, v2, v0}, Landroid/view/WindowManager;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 795
    return-void

    .line 777
    .end local v0           #wl:Landroid/view/WindowManager$LayoutParams;
    :cond_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectWindow:Lcom/nemustech/tiffany/world/TFWindow;

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFWindow;->addFlags(I)V

    goto :goto_0

    .line 785
    .restart local v0       #wl:Landroid/view/WindowManager$LayoutParams;
    :pswitch_0
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarHeight:I

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    add-int/2addr v1, v2

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->y:I

    goto :goto_1

    .line 788
    :pswitch_1
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->y:I

    goto :goto_1

    .line 782
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method private showEffectAskew()V
    .locals 25

    .prologue
    .line 1099
    const-wide/16 v22, 0x1f4

    .line 1101
    .local v22, duration:J
    new-instance v10, Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/4 v5, 0x1

    invoke-direct {v10, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;-><init>(Z)V

    .line 1102
    .local v10, centerWall:Lcom/nemustech/tiffany/world/TFPlaceHolder;
    new-instance v11, Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/4 v5, 0x1

    invoke-direct {v11, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;-><init>(Z)V

    .line 1103
    .local v11, sideWall:Lcom/nemustech/tiffany/world/TFPlaceHolder;
    new-instance v9, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v6, v0

    invoke-direct {v9, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    .line 1104
    .local v9, panelFront:Lcom/nemustech/tiffany/world/TFPanel;
    new-instance v7, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v5, v0

    const/high16 v6, 0x4000

    div-float/2addr v5, v6

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v6, v0

    invoke-direct {v7, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    .line 1105
    .local v7, panelBackL:Lcom/nemustech/tiffany/world/TFPanel;
    new-instance v8, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v5, v0

    const/high16 v6, 0x4000

    div-float/2addr v5, v6

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v6, v0

    invoke-direct {v8, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    .line 1106
    .local v8, panelBackR:Lcom/nemustech/tiffany/world/TFPanel;
    new-instance v12, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v6, v0

    invoke-direct {v12, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    .line 1108
    .local v12, panelBackMain:Lcom/nemustech/tiffany/world/TFPanel;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v5, v0

    invoke-virtual {v10, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 1109
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v5, v0

    invoke-virtual {v11, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 1111
    const/4 v5, 0x0

    invoke-virtual {v10, v9, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->addModel(Lcom/nemustech/tiffany/world/TFModel;I)Z

    .line 1118
    const/4 v5, 0x0

    invoke-virtual {v11, v7, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->addModel(Lcom/nemustech/tiffany/world/TFModel;I)Z

    .line 1119
    const/4 v5, 0x1

    invoke-virtual {v11, v8, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->addModel(Lcom/nemustech/tiffany/world/TFModel;I)Z

    .line 1126
    const/4 v5, 0x0

    invoke-virtual {v7, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1127
    const/4 v5, 0x0

    invoke-virtual {v8, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1129
    new-instance v24, Landroid/graphics/Rect;

    invoke-direct/range {v24 .. v24}, Landroid/graphics/Rect;-><init>()V

    .line 1130
    .local v24, rectBitmap:Landroid/graphics/Rect;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    div-int/lit8 v21, v5, 0x2

    .line 1131
    .local v21, bmpWidth:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v20

    .line 1133
    .local v20, bmpHeight:I
    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v13, v0

    aget-object v6, v6, v13

    const/4 v13, 0x0

    invoke-virtual {v9, v5, v6, v13}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1135
    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object/from16 v0, v24

    move v1, v5

    move v2, v6

    move/from16 v3, v21

    move/from16 v4, v20

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 1136
    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v13, v0

    aget-object v6, v6, v13

    move-object v0, v7

    move v1, v5

    move-object v2, v6

    move-object/from16 v3, v24

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1138
    const/4 v5, 0x0

    mul-int/lit8 v6, v21, 0x2

    move-object/from16 v0, v24

    move/from16 v1, v21

    move v2, v5

    move v3, v6

    move/from16 v4, v20

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 1139
    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v13, v0

    aget-object v6, v6, v13

    move-object v0, v8

    move v1, v5

    move-object v2, v6

    move-object/from16 v3, v24

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1141
    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v13, v0

    aget-object v6, v6, v13

    const/4 v13, 0x0

    invoke-virtual {v12, v5, v6, v13}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1143
    new-instance v5, Lcom/nemustech/tiffany/world/TFEffect$10;

    move-object/from16 v6, p0

    invoke-direct/range {v5 .. v12}, Lcom/nemustech/tiffany/world/TFEffect$10;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFPlaceHolder;Lcom/nemustech/tiffany/world/TFPlaceHolder;Lcom/nemustech/tiffany/world/TFPanel;)V

    invoke-virtual {v10, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1206
    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v10, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->locate(FFF)V

    .line 1215
    .end local v7           #panelBackL:Lcom/nemustech/tiffany/world/TFPanel;
    const v14, -0x439a9fbe

    const/4 v15, 0x0

    const v16, -0x40733333

    const-wide/16 v17, 0x1f4

    move-object v13, v10

    invoke-virtual/range {v13 .. v18}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->move(FFFJ)V

    .line 1216
    const/high16 v14, 0x4218

    const v15, 0x43a78000

    const-wide/16 v16, 0x1f4

    const/16 v18, 0x2

    const/16 v19, 0x2

    move-object v13, v10

    invoke-virtual/range {v13 .. v19}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->rotate(FFJII)V

    .line 1217
    const v14, -0x439a9fbe

    const/4 v15, 0x0

    const v16, -0x40733333

    const-wide/16 v17, 0x1f4

    move-object v13, v11

    invoke-virtual/range {v13 .. v18}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->move(FFFJ)V

    .line 1218
    const/high16 v14, 0x4218

    const v15, 0x43a78000

    const-wide/16 v16, 0x1f4

    const/16 v18, 0x2

    const/16 v19, 0x2

    move-object v13, v11

    invoke-virtual/range {v13 .. v19}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->rotate(FFJII)V

    .line 1220
    const/4 v5, 0x0

    const/4 v6, 0x0

    const v7, -0x43dc28f6

    invoke-virtual {v11, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->locate(FFF)V

    .line 1221
    return-void
.end method

.method private showEffectCenterZoom(Z)V
    .locals 4
    .parameter "bReversed"

    .prologue
    const/4 v3, 0x1

    .line 1862
    new-instance v1, Lcom/nemustech/tiffany/world/TFAnimationSet;

    invoke-direct {v1}, Lcom/nemustech/tiffany/world/TFAnimationSet;-><init>()V

    .line 1864
    .local v1, set:Lcom/nemustech/tiffany/world/TFAnimationSet;
    const/4 v2, 0x5

    invoke-virtual {v1, v2, v3}, Lcom/nemustech/tiffany/world/TFAnimationSet;->getAnimation(IZ)Landroid/view/animation/Animation;

    move-result-object v0

    .line 1866
    .local v0, in:Landroid/view/animation/Animation;
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v2, v2, v3

    invoke-virtual {v2}, Landroid/widget/ImageView;->bringToFront()V

    .line 1868
    new-instance v2, Lcom/nemustech/tiffany/world/TFEffect$22;

    invoke-direct {v2, p0}, Lcom/nemustech/tiffany/world/TFEffect$22;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    invoke-virtual {v0, v2}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 1883
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v2, v2, v3

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1884
    return-void
.end method

.method private showEffectDiagonalFling(Z)V
    .locals 6
    .parameter "bReversed"

    .prologue
    const/4 v5, 0x0

    const/4 v4, 0x1

    .line 1763
    new-instance v2, Lcom/nemustech/tiffany/world/TFAnimationSet;

    invoke-direct {v2}, Lcom/nemustech/tiffany/world/TFAnimationSet;-><init>()V

    .line 1765
    .local v2, set:Lcom/nemustech/tiffany/world/TFAnimationSet;
    invoke-virtual {v2, v4, v4}, Lcom/nemustech/tiffany/world/TFAnimationSet;->getAnimation(IZ)Landroid/view/animation/Animation;

    move-result-object v0

    .line 1766
    .local v0, in:Landroid/view/animation/Animation;
    invoke-virtual {v2, v4, v5}, Lcom/nemustech/tiffany/world/TFAnimationSet;->getAnimation(IZ)Landroid/view/animation/Animation;

    move-result-object v1

    .line 1768
    .local v1, out:Landroid/view/animation/Animation;
    new-instance v3, Lcom/nemustech/tiffany/world/TFEffect$18;

    invoke-direct {v3, p0}, Lcom/nemustech/tiffany/world/TFEffect$18;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    invoke-virtual {v0, v3}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 1783
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v3, v3, v5

    invoke-virtual {v3, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1784
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v3, v3, v4

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1785
    return-void
.end method

.method private showEffectDiagonalScale(Z)V
    .locals 6
    .parameter "bReversed"

    .prologue
    const/4 v3, 0x2

    const/4 v5, 0x1

    const/4 v4, 0x0

    .line 1788
    new-instance v2, Lcom/nemustech/tiffany/world/TFAnimationSet;

    invoke-direct {v2}, Lcom/nemustech/tiffany/world/TFAnimationSet;-><init>()V

    .line 1790
    .local v2, set:Lcom/nemustech/tiffany/world/TFAnimationSet;
    invoke-virtual {v2, v3, v5}, Lcom/nemustech/tiffany/world/TFAnimationSet;->getAnimation(IZ)Landroid/view/animation/Animation;

    move-result-object v0

    .line 1791
    .local v0, in:Landroid/view/animation/Animation;
    invoke-virtual {v2, v3, v4}, Lcom/nemustech/tiffany/world/TFAnimationSet;->getAnimation(IZ)Landroid/view/animation/Animation;

    move-result-object v1

    .line 1793
    .local v1, out:Landroid/view/animation/Animation;
    new-instance v3, Lcom/nemustech/tiffany/world/TFEffect$19;

    invoke-direct {v3, p0}, Lcom/nemustech/tiffany/world/TFEffect$19;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    invoke-virtual {v0, v3}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 1808
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v3, v3, v4

    invoke-virtual {v3, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1809
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v3, v3, v5

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1810
    return-void
.end method

.method private showEffectEntranceDoor()V
    .locals 22

    .prologue
    .line 1002
    const/4 v6, 0x1

    move v0, v6

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/tiffany/world/TFEffect;->mBlending:Z

    .line 1007
    const-wide/16 v15, 0x3e8

    .line 1009
    .local v15, duration:J
    new-instance v20, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;

    const/4 v6, 0x0

    const/high16 v7, 0x42b4

    move-object/from16 v0, v20

    move v1, v6

    move v2, v7

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;-><init>(FF)V

    .line 1010
    .local v20, verticalAxisL:Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;
    new-instance v21, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;

    const/4 v6, 0x0

    const/high16 v7, 0x4387

    move-object/from16 v0, v21

    move v1, v6

    move v2, v7

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;-><init>(FF)V

    .line 1011
    .local v21, verticalAxisR:Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;
    const/4 v6, 0x0

    move-object/from16 v0, v20

    move v1, v6

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->setFadingEffect(Z)V

    .line 1012
    const/4 v6, 0x0

    move-object/from16 v0, v21

    move v1, v6

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->setFadingEffect(Z)V

    .line 1014
    new-instance v5, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v7, v0

    invoke-direct {v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    .line 1015
    .local v5, panelBack:Lcom/nemustech/tiffany/world/TFPanel;
    new-instance v17, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v6, v0

    const/high16 v7, 0x4000

    div-float/2addr v6, v7

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v7, v0

    move-object/from16 v0, v17

    move v1, v6

    move v2, v7

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    .line 1016
    .local v17, panelFrontL:Lcom/nemustech/tiffany/world/TFPanel;
    new-instance v18, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v6, v0

    const/high16 v7, 0x4000

    div-float/2addr v6, v7

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v7, v0

    move-object/from16 v0, v18

    move v1, v6

    move v2, v7

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    .line 1018
    .local v18, panelFrontR:Lcom/nemustech/tiffany/world/TFPanel;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v6, v0

    invoke-virtual {v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 1019
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v6, v0

    move-object/from16 v0, v20

    move-object v1, v6

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 1020
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v6, v0

    move-object/from16 v0, v21

    move-object v1, v6

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 1022
    const/4 v6, 0x0

    const/4 v7, 0x0

    move-object/from16 v0, v20

    move-object/from16 v1, v17

    move v2, v6

    move v3, v7

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->addModel(Lcom/nemustech/tiffany/world/TFModel;IZ)Z

    .line 1023
    const/4 v6, 0x0

    const/4 v7, 0x0

    move-object/from16 v0, v21

    move-object/from16 v1, v18

    move v2, v6

    move v3, v7

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->addModel(Lcom/nemustech/tiffany/world/TFModel;IZ)Z

    .line 1025
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v6, v0

    neg-float v6, v6

    const/high16 v7, 0x4000

    div-float/2addr v6, v7

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v7, v0

    neg-float v7, v7

    const/high16 v8, 0x4000

    div-float/2addr v7, v8

    const/4 v8, 0x0

    move-object/from16 v0, v20

    move v1, v6

    move v2, v7

    move v3, v8

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->locate(FFF)V

    .line 1026
    const/4 v6, 0x0

    const/4 v7, 0x0

    move-object/from16 v0, v20

    move v1, v6

    move v2, v7

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->look(FF)V

    .line 1029
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v6, v0

    const/high16 v7, 0x4000

    div-float/2addr v6, v7

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v7, v0

    neg-float v7, v7

    const/high16 v8, 0x4000

    div-float/2addr v7, v8

    const/4 v8, 0x0

    move-object/from16 v0, v21

    move v1, v6

    move v2, v7

    move v3, v8

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->locate(FFF)V

    .line 1030
    const/4 v6, 0x0

    const/4 v7, 0x0

    move-object/from16 v0, v21

    move v1, v6

    move v2, v7

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->look(FF)V

    .line 1033
    new-instance v19, Landroid/graphics/Rect;

    invoke-direct/range {v19 .. v19}, Landroid/graphics/Rect;-><init>()V

    .line 1034
    .local v19, rectBitmap:Landroid/graphics/Rect;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v7, v0

    aget-object v6, v6, v7

    invoke-virtual {v6}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v6

    div-int/lit8 v14, v6, 0x2

    .line 1035
    .local v14, bmpWidth:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v7, v0

    aget-object v6, v6, v7

    invoke-virtual {v6}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v13

    .line 1037
    .local v13, bmpHeight:I
    const/4 v6, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v7, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v8, v0

    aget-object v7, v7, v8

    const/4 v8, 0x0

    invoke-virtual {v5, v6, v7, v8}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1039
    const/4 v6, 0x0

    const/4 v7, 0x0

    move-object/from16 v0, v19

    move v1, v6

    move v2, v7

    move v3, v14

    move v4, v13

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 1040
    const/4 v6, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v7, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v8, v0

    aget-object v7, v7, v8

    move-object/from16 v0, v17

    move v1, v6

    move-object v2, v7

    move-object/from16 v3, v19

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1042
    const/4 v6, 0x0

    mul-int/lit8 v7, v14, 0x2

    move-object/from16 v0, v19

    move v1, v14

    move v2, v6

    move v3, v7

    move v4, v13

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 1043
    const/4 v6, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v7, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v8, v0

    aget-object v7, v7, v8

    move-object/from16 v0, v18

    move v1, v6

    move-object v2, v7

    move-object/from16 v3, v19

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1045
    const/4 v6, 0x0

    move v0, v6

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishCnt:I

    .line 1047
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v6, v0

    new-instance v7, Lcom/nemustech/tiffany/world/TFEffect$9;

    move-object v0, v7

    move-object/from16 v1, p0

    move-object v2, v5

    move-object/from16 v3, v17

    move-object/from16 v4, v18

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/nemustech/tiffany/world/TFEffect$9;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFPanel;)V

    invoke-virtual {v6, v7}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1061
    const/4 v6, 0x0

    const-wide/16 v7, 0x3e8

    move-object/from16 v0, v17

    move v1, v6

    move-wide v2, v7

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    .line 1062
    const/4 v6, 0x0

    const-wide/16 v7, 0x3e8

    move-object/from16 v0, v18

    move v1, v6

    move-wide v2, v7

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    .line 1065
    const/4 v6, 0x0

    const/4 v7, 0x0

    const v8, -0x3fee147b

    invoke-virtual {v5, v6, v7, v8}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1075
    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    const-wide/16 v9, 0x3e8

    invoke-virtual/range {v5 .. v10}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 1076
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v6, v0

    neg-float v7, v6

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v6, v0

    neg-float v8, v6

    const/high16 v9, 0x3f00

    const-wide/16 v10, 0x3e8

    move-object/from16 v6, v20

    invoke-virtual/range {v6 .. v11}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->move(FFFJ)V

    .line 1077
    const/high16 v7, 0x42b4

    const/4 v8, 0x0

    const-wide/16 v9, 0x3e8

    const/4 v11, 0x0

    const/4 v12, 0x2

    move-object/from16 v6, v20

    invoke-virtual/range {v6 .. v12}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->rotate(FFJII)V

    .line 1078
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v7, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v6, v0

    neg-float v8, v6

    const/high16 v9, 0x3f00

    const-wide/16 v10, 0x3e8

    move-object/from16 v6, v21

    invoke-virtual/range {v6 .. v11}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->move(FFFJ)V

    .line 1079
    const/high16 v7, -0x3d4c

    const/4 v8, 0x0

    const-wide/16 v9, 0x3e8

    const/4 v11, 0x1

    const/4 v12, 0x2

    move-object/from16 v6, v21

    invoke-virtual/range {v6 .. v12}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->rotate(FFJII)V

    .line 1080
    return-void
.end method

.method private showEffectFlip(Z)V
    .locals 10
    .parameter "bReversed"

    .prologue
    .line 806
    move v7, p1

    .line 807
    .local v7, bFinalReverse:Z
    new-instance v0, Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    .line 811
    .local v0, panel:Lcom/nemustech/tiffany/world/TFPanel;
    const-wide/16 v8, 0x12c

    .line 813
    .local v8, duration:J
    const/4 v1, 0x0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    aget-object v2, v2, v3

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 814
    const/4 v1, 0x1

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    aget-object v2, v2, v3

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 818
    const/4 v1, 0x0

    const/4 v2, 0x0

    const/high16 v3, -0x4040

    const-wide/16 v4, 0x12c

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 820
    if-eqz v7, :cond_0

    .line 822
    const/high16 v1, -0x3d4c

    const/4 v2, 0x0

    const-wide/16 v3, 0x12c

    const/4 v5, 0x1

    const/4 v6, 0x1

    invoke-virtual/range {v0 .. v6}, Lcom/nemustech/tiffany/world/TFPanel;->rotate(FFJII)V

    .line 827
    :goto_0
    new-instance v1, Lcom/nemustech/tiffany/world/TFEffect$4;

    invoke-direct {v1, p0, v7}, Lcom/nemustech/tiffany/world/TFEffect$4;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Z)V

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 847
    return-void

    .line 825
    :cond_0
    const/high16 v1, 0x42b4

    const/4 v2, 0x0

    const-wide/16 v3, 0x12c

    const/4 v5, 0x0

    const/4 v6, 0x0

    invoke-virtual/range {v0 .. v6}, Lcom/nemustech/tiffany/world/TFPanel;->rotate(FFJII)V

    goto :goto_0
.end method

.method private showEffectGenie_FlexiblePanel(Z)V
    .locals 8
    .parameter "bReversed"

    .prologue
    const/4 v7, 0x0

    const/4 v6, 0x1

    .line 2008
    invoke-virtual {p0, v6}, Lcom/nemustech/tiffany/world/TFEffect;->setTranslucentMode(Z)V

    .line 2009
    iput-boolean v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mOneWayAnimation:Z

    .line 2011
    if-nez p1, :cond_2

    .line 2012
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    .line 2017
    .local v1, startIndex:I
    :goto_0
    new-instance v2, Lcom/nemustech/tiffany/world/TFFlexiblePanel;

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v2, v3, v4, v5}, Lcom/nemustech/tiffany/world/TFFlexiblePanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    iput-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mGeniePanel:Lcom/nemustech/tiffany/world/TFFlexiblePanel;

    .line 2018
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mGeniePanel:Lcom/nemustech/tiffany/world/TFFlexiblePanel;

    const/4 v3, 0x0

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v4, v4, v1

    const/4 v5, 0x0

    invoke-virtual {v2, v3, v4, v5}, Lcom/nemustech/tiffany/world/TFFlexiblePanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 2019
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mGeniePanel:Lcom/nemustech/tiffany/world/TFFlexiblePanel;

    invoke-virtual {v2, v7, v7, v7}, Lcom/nemustech/tiffany/world/TFFlexiblePanel;->locate(FFF)V

    .line 2021
    if-ne p1, v6, :cond_0

    .line 2022
    iput-boolean v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBlending:Z

    .line 2023
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mGeniePanel:Lcom/nemustech/tiffany/world/TFFlexiblePanel;

    invoke-virtual {v2, v7}, Lcom/nemustech/tiffany/world/TFFlexiblePanel;->setOpacity(F)V

    .line 2026
    :cond_0
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    new-instance v3, Lcom/nemustech/tiffany/world/TFEffect$25;

    invoke-direct {v3, p0}, Lcom/nemustech/tiffany/world/TFEffect$25;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 2045
    new-instance v0, Lcom/nemustech/tiffany/world/TFEffect$Genie;

    invoke-direct {v0, p1}, Lcom/nemustech/tiffany/world/TFEffect$Genie;-><init>(Z)V

    .line 2046
    .local v0, genie:Lcom/nemustech/tiffany/world/TFEffect$Genie;
    if-ne p1, v6, :cond_1

    .line 2047
    new-instance v2, Lcom/nemustech/tiffany/world/TFEffect$26;

    invoke-direct {v2, p0, v0}, Lcom/nemustech/tiffany/world/TFEffect$26;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFEffect$Genie;)V

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFEffect$Genie;->setPostDrawListener(Ljava/lang/Runnable;)V

    .line 2055
    :cond_1
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mGeniePanel:Lcom/nemustech/tiffany/world/TFFlexiblePanel;

    invoke-virtual {v2, v0}, Lcom/nemustech/tiffany/world/TFFlexiblePanel;->setPointBlender(Lcom/nemustech/tiffany/world/TFFlexiblePanel$PointBlender;)V

    .line 2056
    return-void

    .line 2014
    .end local v0           #genie:Lcom/nemustech/tiffany/world/TFEffect$Genie;
    .end local v1           #startIndex:I
    :cond_2
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    .restart local v1       #startIndex:I
    goto :goto_0
.end method

.method private showEffectHorizontalCube(Z)V
    .locals 14
    .parameter "bReversed"

    .prologue
    const-wide/16 v3, 0x1f4

    const/high16 v6, -0x3d4c

    const/4 v10, 0x1

    const/4 v5, 0x0

    const/4 v1, 0x0

    .line 1354
    invoke-virtual {p0, v5}, Lcom/nemustech/tiffany/world/TFEffect;->setReflectingFloor(Z)V

    .line 1356
    const-wide/16 v12, 0x1f4

    .line 1358
    .local v12, duration:J
    new-instance v0, Lcom/nemustech/tiffany/world/TFCube;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v0, v2, v7, v8}, Lcom/nemustech/tiffany/world/TFCube;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    .line 1359
    .local v0, cube:Lcom/nemustech/tiffany/world/TFCube;
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v2, v2, v5

    invoke-virtual {v0, v5, v2}, Lcom/nemustech/tiffany/world/TFCube;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1360
    const/4 v2, 0x3

    iget-object v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v7, v7, v10

    invoke-virtual {v0, v2, v7}, Lcom/nemustech/tiffany/world/TFCube;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1362
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    new-instance v7, Lcom/nemustech/tiffany/world/TFEffect$13;

    invoke-direct {v7, p0, v0}, Lcom/nemustech/tiffany/world/TFEffect$13;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFCube;)V

    invoke-virtual {v2, v7}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1368
    const/high16 v2, -0x4100

    invoke-virtual {v0, v1, v1, v2}, Lcom/nemustech/tiffany/world/TFCube;->locate(FFF)V

    .line 1370
    if-eqz p1, :cond_0

    .line 1372
    invoke-virtual {v0, v6, v1}, Lcom/nemustech/tiffany/world/TFCube;->look(FF)V

    move v2, v1

    move v6, v5

    .line 1376
    invoke-virtual/range {v0 .. v6}, Lcom/nemustech/tiffany/world/TFCube;->rotate(FFJII)V

    .line 1385
    :goto_0
    return-void

    :cond_0
    move-object v5, v0

    move v7, v1

    move-wide v8, v3

    move v11, v10

    .line 1383
    invoke-virtual/range {v5 .. v11}, Lcom/nemustech/tiffany/world/TFCube;->rotate(FFJII)V

    goto :goto_0
.end method

.method private showEffectHorizontalRow(Z)V
    .locals 29
    .parameter "bReversed"

    .prologue
    .line 1288
    const-wide/16 v17, 0x12c

    .line 1291
    .local v17, duration:J
    const/4 v13, 0x1

    .line 1292
    .local v13, MOSAIC_HORZ_NUM:I
    const/4 v14, 0x4

    .line 1293
    .local v14, MOSAIC_VERT_NUM:I
    const/16 v16, 0x4

    .line 1294
    .local v16, TOTAL_COUNT:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    div-int/lit8 v15, v5, 0x1

    .line 1295
    .local v15, MOSAIC_WIDTH:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v5

    div-int/lit8 v12, v5, 0x4

    .line 1297
    .local v12, MOSAIC_HEIGHT:I
    const/4 v5, 0x4

    move v0, v5

    new-array v0, v0, [F

    move-object/from16 v20, v0

    .line 1298
    .local v20, locX:[F
    const/4 v5, 0x4

    move v0, v5

    new-array v0, v0, [F

    move-object/from16 v21, v0

    .line 1299
    .local v21, locY:[F
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v5, v0

    const/high16 v6, 0x4080

    div-float v22, v5, v6

    .line 1301
    .local v22, normalizeHeight:F
    const/4 v5, 0x4

    move v0, v5

    new-array v0, v0, [Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v23, v0

    .line 1302
    .local v23, panel:[Lcom/nemustech/tiffany/world/TFPanel;
    new-instance v24, Landroid/graphics/Rect;

    invoke-direct/range {v24 .. v24}, Landroid/graphics/Rect;-><init>()V

    .line 1303
    .local v24, rectMosaic:Landroid/graphics/Rect;
    const/16 v19, 0x0

    .line 1305
    .local v19, index:I
    const/4 v5, 0x0

    move v0, v5

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishCnt:I

    .line 1307
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v5, v0

    new-instance v6, Lcom/nemustech/tiffany/world/TFEffect$12;

    move-object v0, v6

    move-object/from16 v1, p0

    move-object/from16 v2, v23

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect$12;-><init>(Lcom/nemustech/tiffany/world/TFEffect;[Lcom/nemustech/tiffany/world/TFPanel;)V

    invoke-virtual {v5, v6}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1318
    const/16 v28, 0x0

    .local v28, y:I
    :goto_0
    const/4 v5, 0x4

    move/from16 v0, v28

    move v1, v5

    if-ge v0, v1, :cond_2

    .line 1319
    const/16 v27, 0x0

    .local v27, x:I
    :goto_1
    const/4 v5, 0x1

    move/from16 v0, v27

    move v1, v5

    if-ge v0, v1, :cond_1

    .line 1320
    mul-int/lit8 v5, v28, 0x1

    add-int v19, v5, v27

    .line 1323
    new-instance v5, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v7, v0

    move-object v0, v5

    move-object v1, v6

    move v2, v7

    move/from16 v3, v22

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    aput-object v5, v23, v19

    .line 1326
    mul-int v5, v27, v15

    mul-int v6, v28, v12

    mul-int v7, v27, v15

    add-int/2addr v7, v15

    mul-int v8, v28, v12

    add-int/2addr v8, v12

    move-object/from16 v0, v24

    move v1, v5

    move v2, v6

    move v3, v7

    move v4, v8

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 1329
    aget-object v5, v23, v19

    const/4 v6, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v7, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v8, v0

    aget-object v7, v7, v8

    move-object v0, v5

    move v1, v6

    move-object v2, v7

    move-object/from16 v3, v24

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1330
    aget-object v5, v23, v19

    const/4 v6, 0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v7, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v8, v0

    aget-object v7, v7, v8

    move-object v0, v5

    move v1, v6

    move-object v2, v7

    move-object/from16 v3, v24

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1331
    aget-object v5, v23, v19

    const/4 v6, 0x1

    const/4 v7, 0x3

    invoke-virtual {v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPanel;->reverseImage(II)V

    .line 1333
    const/4 v5, 0x0

    aput v5, v20, v19

    .line 1334
    const/high16 v5, 0x4000

    mul-float v5, v5, v22

    move/from16 v0, v19

    int-to-float v0, v0

    move v6, v0

    mul-float v6, v6, v22

    const/high16 v7, 0x4000

    div-float v7, v22, v7

    add-float/2addr v6, v7

    sub-float/2addr v5, v6

    aput v5, v21, v19

    .line 1337
    aget-object v5, v23, v19

    aget v6, v20, v19

    aget v7, v21, v19

    const/4 v8, 0x0

    invoke-virtual {v5, v6, v7, v8}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1340
    move/from16 v0, v19

    mul-int/lit16 v0, v0, 0xc8

    move v5, v0

    move v0, v5

    int-to-long v0, v0

    move-wide/from16 v25, v0

    .line 1341
    .local v25, waitTime:J
    aget-object v5, v23, v19

    move-object v0, v5

    move-wide/from16 v1, v25

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setWait(J)V

    .line 1347
    if-eqz p1, :cond_0

    const/4 v5, 0x1

    move v10, v5

    .line 1348
    .local v10, direction:I
    :goto_2
    aget-object v5, v23, v19

    const/4 v6, 0x0

    const/high16 v7, 0x4334

    const-wide/16 v8, 0x12c

    move v11, v10

    invoke-virtual/range {v5 .. v11}, Lcom/nemustech/tiffany/world/TFPanel;->rotate(FFJII)V

    .line 1319
    add-int/lit8 v27, v27, 0x1

    goto/16 :goto_1

    .line 1347
    .end local v10           #direction:I
    :cond_0
    const/4 v5, 0x0

    move v10, v5

    goto :goto_2

    .line 1318
    .end local v25           #waitTime:J
    :cond_1
    add-int/lit8 v28, v28, 0x1

    goto/16 :goto_0

    .line 1351
    .end local v27           #x:I
    :cond_2
    return-void
.end method

.method private showEffectLineZoom(Z)V
    .locals 4
    .parameter "bReversed"

    .prologue
    const/4 v3, 0x1

    .line 1887
    new-instance v1, Lcom/nemustech/tiffany/world/TFAnimationSet;

    invoke-direct {v1}, Lcom/nemustech/tiffany/world/TFAnimationSet;-><init>()V

    .line 1889
    .local v1, set:Lcom/nemustech/tiffany/world/TFAnimationSet;
    const/4 v2, 0x6

    invoke-virtual {v1, v2, v3}, Lcom/nemustech/tiffany/world/TFAnimationSet;->getAnimation(IZ)Landroid/view/animation/Animation;

    move-result-object v0

    .line 1891
    .local v0, in:Landroid/view/animation/Animation;
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v2, v2, v3

    invoke-virtual {v2}, Landroid/widget/ImageView;->bringToFront()V

    .line 1893
    new-instance v2, Lcom/nemustech/tiffany/world/TFEffect$23;

    invoke-direct {v2, p0, v1}, Lcom/nemustech/tiffany/world/TFEffect$23;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFAnimationSet;)V

    invoke-virtual {v0, v2}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 1923
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v2, v2, v3

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1924
    return-void
.end method

.method private showEffectMosaic(Z)V
    .locals 30
    .parameter "bReversed"

    .prologue
    .line 852
    const-wide/16 v17, 0x12c

    .line 854
    .local v17, duration:J
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v6, v0

    cmpl-float v5, v5, v6

    if-ltz v5, :cond_0

    const/4 v5, 0x3

    move v13, v5

    .line 855
    .local v13, MOSAIC_HORZ_NUM:I
    :goto_0
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v6, v0

    cmpl-float v5, v5, v6

    if-ltz v5, :cond_1

    const/4 v5, 0x4

    move v14, v5

    .line 857
    .local v14, MOSAIC_VERT_NUM:I
    :goto_1
    mul-int v16, v13, v14

    .line 858
    .local v16, TOTAL_COUNT:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v5, v0

    const/4 v6, 0x0

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    div-int v15, v5, v13

    .line 859
    .local v15, MOSAIC_WIDTH:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v5, v0

    const/4 v6, 0x0

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v5

    div-int v12, v5, v14

    .line 861
    .local v12, MOSAIC_HEIGHT:I
    move/from16 v0, v16

    new-array v0, v0, [F

    move-object/from16 v20, v0

    .line 862
    .local v20, locX:[F
    move/from16 v0, v16

    new-array v0, v0, [F

    move-object/from16 v21, v0

    .line 864
    .local v21, locY:[F
    move/from16 v0, v16

    new-array v0, v0, [Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v22, v0

    .line 865
    .local v22, panel:[Lcom/nemustech/tiffany/world/TFPanel;
    new-instance v25, Landroid/graphics/Rect;

    invoke-direct/range {v25 .. v25}, Landroid/graphics/Rect;-><init>()V

    .line 866
    .local v25, rectMosaic:Landroid/graphics/Rect;
    const/16 v19, 0x0

    .line 868
    .local v19, index:I
    const/4 v5, 0x0

    move v0, v5

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishCnt:I

    .line 870
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v5, v0

    new-instance v6, Lcom/nemustech/tiffany/world/TFEffect$5;

    move-object v0, v6

    move-object/from16 v1, p0

    move/from16 v2, v16

    move-object/from16 v3, v22

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFEffect$5;-><init>(Lcom/nemustech/tiffany/world/TFEffect;I[Lcom/nemustech/tiffany/world/TFPanel;)V

    invoke-virtual {v5, v6}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 879
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v5, v0

    int-to-float v6, v13

    div-float v24, v5, v6

    .line 880
    .local v24, panelWidth:F
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v5, v0

    int-to-float v6, v14

    div-float v23, v5, v6

    .line 882
    .local v23, panelHeight:F
    const/16 v29, 0x0

    .local v29, y:I
    :goto_2
    move/from16 v0, v29

    move v1, v14

    if-ge v0, v1, :cond_4

    .line 883
    const/16 v28, 0x0

    .local v28, x:I
    :goto_3
    move/from16 v0, v28

    move v1, v13

    if-ge v0, v1, :cond_3

    .line 884
    mul-int v5, v29, v13

    add-int v19, v5, v28

    .line 887
    new-instance v5, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v6, v0

    move-object v0, v5

    move-object v1, v6

    move/from16 v2, v24

    move/from16 v3, v23

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    aput-object v5, v22, v19

    .line 890
    mul-int v5, v28, v15

    mul-int v6, v29, v12

    mul-int v7, v28, v15

    add-int/2addr v7, v15

    mul-int v8, v29, v12

    add-int/2addr v8, v12

    move-object/from16 v0, v25

    move v1, v5

    move v2, v6

    move v3, v7

    move v4, v8

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 893
    aget-object v5, v22, v19

    const/4 v6, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v7, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v8, v0

    aget-object v7, v7, v8

    move-object v0, v5

    move v1, v6

    move-object v2, v7

    move-object/from16 v3, v25

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 894
    aget-object v5, v22, v19

    const/4 v6, 0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v7, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v8, v0

    aget-object v7, v7, v8

    move-object v0, v5

    move v1, v6

    move-object v2, v7

    move-object/from16 v3, v25

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 896
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v5, v0

    const/high16 v6, 0x4000

    div-float/2addr v5, v6

    neg-float v5, v5

    const/high16 v6, 0x4000

    div-float v6, v24, v6

    add-float/2addr v5, v6

    move/from16 v0, v28

    int-to-float v0, v0

    move v6, v0

    mul-float v6, v6, v24

    add-float/2addr v5, v6

    aput v5, v20, v19

    .line 897
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move v5, v0

    const/high16 v6, 0x4000

    div-float/2addr v5, v6

    const/high16 v6, 0x4000

    div-float v6, v23, v6

    sub-float/2addr v5, v6

    move/from16 v0, v29

    int-to-float v0, v0

    move v6, v0

    mul-float v6, v6, v23

    sub-float/2addr v5, v6

    aput v5, v21, v19

    .line 900
    aget-object v5, v22, v19

    aget v6, v20, v19

    aget v7, v21, v19

    const/4 v8, 0x0

    invoke-virtual {v5, v6, v7, v8}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 903
    const-wide/high16 v5, 0x4089

    invoke-static {}, Ljava/lang/Math;->random()D

    move-result-wide v7

    mul-double/2addr v5, v7

    move-wide v0, v5

    double-to-long v0, v0

    move-wide/from16 v26, v0

    .line 904
    .local v26, waitTime:J
    aget-object v5, v22, v19

    move-object v0, v5

    move-wide/from16 v1, v26

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setWait(J)V

    .line 910
    if-eqz p1, :cond_2

    const/4 v5, 0x1

    move v10, v5

    .line 911
    .local v10, direction:I
    :goto_4
    aget-object v5, v22, v19

    const/high16 v6, 0x4334

    const/4 v7, 0x0

    const-wide/16 v8, 0x12c

    move v11, v10

    invoke-virtual/range {v5 .. v11}, Lcom/nemustech/tiffany/world/TFPanel;->rotate(FFJII)V

    .line 883
    add-int/lit8 v28, v28, 0x1

    goto/16 :goto_3

    .line 854
    .end local v10           #direction:I
    .end local v12           #MOSAIC_HEIGHT:I
    .end local v13           #MOSAIC_HORZ_NUM:I
    .end local v14           #MOSAIC_VERT_NUM:I
    .end local v15           #MOSAIC_WIDTH:I
    .end local v16           #TOTAL_COUNT:I
    .end local v19           #index:I
    .end local v20           #locX:[F
    .end local v21           #locY:[F
    .end local v22           #panel:[Lcom/nemustech/tiffany/world/TFPanel;
    .end local v23           #panelHeight:F
    .end local v24           #panelWidth:F
    .end local v25           #rectMosaic:Landroid/graphics/Rect;
    .end local v26           #waitTime:J
    .end local v28           #x:I
    .end local v29           #y:I
    :cond_0
    const/4 v5, 0x4

    move v13, v5

    goto/16 :goto_0

    .line 855
    .restart local v13       #MOSAIC_HORZ_NUM:I
    :cond_1
    const/4 v5, 0x3

    move v14, v5

    goto/16 :goto_1

    .line 910
    .restart local v12       #MOSAIC_HEIGHT:I
    .restart local v14       #MOSAIC_VERT_NUM:I
    .restart local v15       #MOSAIC_WIDTH:I
    .restart local v16       #TOTAL_COUNT:I
    .restart local v19       #index:I
    .restart local v20       #locX:[F
    .restart local v21       #locY:[F
    .restart local v22       #panel:[Lcom/nemustech/tiffany/world/TFPanel;
    .restart local v23       #panelHeight:F
    .restart local v24       #panelWidth:F
    .restart local v25       #rectMosaic:Landroid/graphics/Rect;
    .restart local v26       #waitTime:J
    .restart local v28       #x:I
    .restart local v29       #y:I
    :cond_2
    const/4 v5, 0x0

    move v10, v5

    goto :goto_4

    .line 882
    .end local v26           #waitTime:J
    :cond_3
    add-int/lit8 v29, v29, 0x1

    goto/16 :goto_2

    .line 914
    .end local v28           #x:I
    :cond_4
    return-void
.end method

.method private showEffectPageCurl(ZIILandroid/view/animation/Interpolator;)V
    .locals 8
    .parameter "bReversed"
    .parameter "degree"
    .parameter "duration"
    .parameter "interpolator"

    .prologue
    const/high16 v7, 0x3f80

    const/4 v6, 0x1

    const/4 v5, 0x0

    .line 2145
    iput-boolean v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDepthTest:Z

    .line 2146
    iput-boolean v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEconomic:Z

    .line 2147
    iput-boolean v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBlending:Z

    .line 2149
    const v0, 0x3cf5c28f

    .line 2151
    .local v0, FRONT_SHADOW_RATIO:F
    new-instance v2, Lcom/nemustech/tiffany/world/TFPagePanel;

    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v2, v3, v4}, Lcom/nemustech/tiffany/world/TFPagePanel;-><init>(FF)V

    iput-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    .line 2152
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    const v3, 0x3cf5c28f

    invoke-virtual {v2, v3, v7}, Lcom/nemustech/tiffany/world/TFPagePanel;->setBorderShadow(FF)V

    .line 2153
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    const/high16 v3, 0x3f00

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setBackMaskOpacity(F)V

    .line 2154
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v3, v3, v5

    invoke-virtual {v2, v5, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 2155
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    const/4 v3, 0x2

    invoke-virtual {v2, v6, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->reverseImage(II)V

    .line 2158
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    aget-object v2, v2, v5

    if-eqz v2, :cond_0

    .line 2160
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    aget-object v3, v3, v5

    invoke-virtual {v2, v6, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 2164
    :cond_0
    new-instance v1, Lcom/nemustech/tiffany/world/TFPanel;

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    .line 2165
    .local v1, nextPage:Lcom/nemustech/tiffany/world/TFPanel;
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v2, v2, v6

    invoke-virtual {v1, v5, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 2167
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 2168
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 2169
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    const/high16 v3, 0x3e80

    const v4, 0x3f666666

    invoke-virtual {v2, v3, v4}, Lcom/nemustech/tiffany/world/TFPagePanel;->setPageShadow(FF)V

    .line 2171
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    invoke-virtual {v2, p2}, Lcom/nemustech/tiffany/world/TFPagePanel;->setDirectionDegree(I)Z

    .line 2172
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    if-eqz p1, :cond_2

    move v3, v7

    :goto_0
    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setTimeLine(F)Z

    .line 2173
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    invoke-virtual {v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->getTimeLine()F

    move-result v3

    iget-boolean v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDragMode:Z

    if-eqz v4, :cond_4

    if-eqz p1, :cond_3

    move v4, v6

    :goto_1
    int-to-float v4, v4

    invoke-virtual {v2, v3, v4, p3, p4}, Lcom/nemustech/tiffany/world/TFPagePanel;->setTimeLine(FFILandroid/view/animation/Interpolator;)Z

    .line 2178
    iget-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDragMode:Z

    if-eqz v2, :cond_1

    .line 2180
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    new-instance v3, Lcom/nemustech/tiffany/world/TFEffect$29;

    invoke-direct {v3, p0}, Lcom/nemustech/tiffany/world/TFEffect$29;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setOnUpdateVertexListener(Lcom/nemustech/tiffany/world/TFPagePanel$OnUpdateVertexListener;)V

    .line 2212
    :cond_1
    new-instance v2, Lcom/nemustech/tiffany/world/TFEffect$30;

    invoke-direct {v2, p0, v1}, Lcom/nemustech/tiffany/world/TFEffect$30;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFPanel;)V

    iput-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    .line 2221
    iget-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDragMode:Z

    if-eqz v2, :cond_6

    .line 2222
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 2225
    :goto_2
    return-void

    .line 2172
    :cond_2
    const/4 v3, 0x0

    goto :goto_0

    :cond_3
    move v4, v5

    .line 2173
    goto :goto_1

    :cond_4
    if-eqz p1, :cond_5

    move v4, v5

    goto :goto_1

    :cond_5
    move v4, v6

    goto :goto_1

    .line 2224
    :cond_6
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    goto :goto_2
.end method

.method private showEffectPageCurlTrans(ZIILandroid/view/animation/Interpolator;)V
    .locals 5
    .parameter "bReversed"
    .parameter "degree"
    .parameter "duration"
    .parameter "interpolator"

    .prologue
    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 2073
    iput-boolean v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDepthTest:Z

    .line 2074
    iput-boolean v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEconomic:Z

    .line 2075
    invoke-virtual {p0, v4}, Lcom/nemustech/tiffany/world/TFEffect;->setTranslucentMode(Z)V

    .line 2076
    iput-boolean v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mOneWayAnimation:Z

    .line 2078
    new-instance v0, Lcom/nemustech/tiffany/world/TFPagePanel;

    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPagePanel;-><init>(FF)V

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    .line 2079
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v1, v1, v3

    invoke-virtual {v0, v3, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 2080
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    const/4 v1, 0x2

    invoke-virtual {v0, v4, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->reverseImage(II)V

    .line 2083
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    aget-object v0, v0, v3

    if-eqz v0, :cond_0

    .line 2085
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    aget-object v1, v1, v3

    invoke-virtual {v0, v4, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 2088
    :cond_0
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 2089
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    const/high16 v1, 0x3e80

    const v2, 0x3f666666

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPagePanel;->setPageShadow(FF)V

    .line 2091
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    invoke-virtual {v0, p2}, Lcom/nemustech/tiffany/world/TFPagePanel;->setDirectionDegree(I)Z

    .line 2092
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    if-eqz p1, :cond_2

    const/high16 v1, 0x3f80

    :goto_0
    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->setTimeLine(F)Z

    .line 2093
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->getTimeLine()F

    move-result v1

    iget-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDragMode:Z

    if-eqz v2, :cond_4

    if-eqz p1, :cond_3

    move v2, v4

    :goto_1
    int-to-float v2, v2

    invoke-virtual {v0, v1, v2, p3, p4}, Lcom/nemustech/tiffany/world/TFPagePanel;->setTimeLine(FFILandroid/view/animation/Interpolator;)Z

    .line 2098
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDragMode:Z

    if-eqz v0, :cond_1

    .line 2100
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    new-instance v1, Lcom/nemustech/tiffany/world/TFEffect$27;

    invoke-direct {v1, p0}, Lcom/nemustech/tiffany/world/TFEffect$27;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->setOnUpdateVertexListener(Lcom/nemustech/tiffany/world/TFPagePanel$OnUpdateVertexListener;)V

    .line 2132
    :cond_1
    new-instance v0, Lcom/nemustech/tiffany/world/TFEffect$28;

    invoke-direct {v0, p0}, Lcom/nemustech/tiffany/world/TFEffect$28;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    .line 2138
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDragMode:Z

    if-eqz v0, :cond_6

    .line 2139
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 2142
    :goto_2
    return-void

    .line 2092
    :cond_2
    const/4 v1, 0x0

    goto :goto_0

    :cond_3
    move v2, v3

    .line 2093
    goto :goto_1

    :cond_4
    if-eqz p1, :cond_5

    move v2, v3

    goto :goto_1

    :cond_5
    move v2, v4

    goto :goto_1

    .line 2141
    :cond_6
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    goto :goto_2
.end method

.method private showEffectPageOver_PagePanel(ZII)V
    .locals 11
    .parameter "bReversed"
    .parameter "degree"
    .parameter "duration"

    .prologue
    .line 1679
    const/4 v7, 0x1

    invoke-virtual {p0, v7}, Lcom/nemustech/tiffany/world/TFEffect;->setTranslucentMode(Z)V

    .line 1680
    const/4 v7, 0x0

    invoke-virtual {p0, v7}, Lcom/nemustech/tiffany/world/TFEffect;->setReflectingFloor(Z)V

    .line 1681
    const/4 v7, 0x1

    iput-boolean v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mOneWayAnimation:Z

    .line 1683
    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    .line 1684
    .local v2, startIndex:I
    const/4 v1, 0x0

    .line 1685
    .local v1, reverse:I
    const/4 v4, 0x0

    .line 1686
    .local v4, timeLineStart:F
    const/high16 v3, 0x3f80

    .line 1687
    .local v3, timeLineEnd:F
    if-eqz p1, :cond_0

    .line 1688
    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    .line 1689
    const/high16 v4, 0x3f80

    .line 1690
    const/4 v3, 0x0

    .line 1694
    :cond_0
    const/4 v5, 0x0

    .line 1695
    .local v5, x:F
    const/4 v6, 0x0

    .line 1696
    .local v6, y:F
    iget-object v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aget-object v7, v7, v2

    if-eqz v7, :cond_1

    iget-object v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mCoverImage:Landroid/graphics/Bitmap;

    if-eqz v7, :cond_1

    .line 1698
    iget-object v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aget-object v7, v7, v2

    invoke-virtual {v7}, Landroid/view/View;->getLeft()I

    move-result v7

    int-to-float v7, v7

    iget v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    int-to-float v8, v8

    const/high16 v9, 0x4000

    div-float/2addr v8, v9

    add-float/2addr v7, v8

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mCoverImage:Landroid/graphics/Bitmap;

    invoke-virtual {v8}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v8

    int-to-float v8, v8

    const/high16 v9, 0x4000

    div-float/2addr v8, v9

    sub-float/2addr v7, v8

    iget v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    int-to-float v8, v8

    div-float v5, v7, v8

    .line 1700
    iget-object v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mCoverImage:Landroid/graphics/Bitmap;

    invoke-virtual {v7}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v7

    int-to-float v7, v7

    const/high16 v8, 0x4000

    div-float/2addr v7, v8

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aget-object v8, v8, v2

    invoke-virtual {v8}, Landroid/view/View;->getTop()I

    move-result v8

    int-to-float v8, v8

    iget v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewHeight:I

    int-to-float v9, v9

    const/high16 v10, 0x4000

    div-float/2addr v9, v10

    add-float/2addr v8, v9

    sub-float/2addr v7, v8

    iget v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    int-to-float v8, v8

    div-float v6, v7, v8

    .line 1702
    const-string v7, "TFEffect"

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    const-string v9, "ScreenWidth:"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mCoverImage:Landroid/graphics/Bitmap;

    invoke-virtual {v9}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string v9, " viewLeft:"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aget-object v9, v9, v2

    invoke-virtual {v9}, Landroid/view/View;->getLeft()I

    move-result v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-static {v7, v8}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1703
    const-string v7, "TFEffect"

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    const-string v9, "ScreenHeight:"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mCoverImage:Landroid/graphics/Bitmap;

    invoke-virtual {v9}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string v9, " viewTop:"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aget-object v9, v9, v2

    invoke-virtual {v9}, Landroid/view/View;->getTop()I

    move-result v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-static {v7, v8}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1704
    const-string v7, "TFEffect"

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    const-string v9, "top:"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aget-object v9, v9, v2

    invoke-virtual {v9}, Landroid/view/View;->getTop()I

    move-result v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string v9, " x:"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8, v5}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string v9, " y:"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8, v6}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string v9, " mViewWidth:"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    iget v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-static {v7, v8}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1707
    :cond_1
    new-instance v0, Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v0, v7, v8, v9}, Lcom/nemustech/tiffany/world/TFPagePanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    .line 1708
    .local v0, currentPage:Lcom/nemustech/tiffany/world/TFPagePanel;
    const/4 v7, 0x0

    invoke-virtual {v0, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPagePanel;->locate(FFF)V

    .line 1709
    const/4 v7, 0x0

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v8, v8, v2

    const/4 v9, 0x0

    invoke-virtual {v0, v7, v8, v9}, Lcom/nemustech/tiffany/world/TFPagePanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1710
    iget-object v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    aget-object v7, v7, v2

    if-eqz v7, :cond_2

    const/4 v7, 0x1

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    aget-object v8, v8, v2

    const/4 v9, 0x0

    invoke-virtual {v0, v7, v8, v9}, Lcom/nemustech/tiffany/world/TFPagePanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1711
    :cond_2
    invoke-virtual {v0, p2}, Lcom/nemustech/tiffany/world/TFPagePanel;->setDirectionDegree(I)Z

    .line 1712
    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPagePanel;->setTimeLine(F)Z

    .line 1713
    if-eqz v1, :cond_3

    .line 1714
    const/4 v7, 0x0

    invoke-virtual {v0, v7, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->reverseImage(II)V

    .line 1716
    :cond_3
    iget-object v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    new-instance v8, Lcom/nemustech/tiffany/world/TFEffect$16;

    invoke-direct {v8, p0, v0}, Lcom/nemustech/tiffany/world/TFEffect$16;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFPagePanel;)V

    invoke-virtual {v7, v8}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1734
    iget-object v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectInterpolator:Landroid/view/animation/Interpolator;

    invoke-virtual {v0, v4, v3, p3, v7}, Lcom/nemustech/tiffany/world/TFPagePanel;->setTimeLine(FFILandroid/view/animation/Interpolator;)Z

    .line 1735
    return-void
.end method

.method private showEffectPageOver_Sticker(ZII)V
    .locals 20
    .parameter "bReversed"
    .parameter "degree"
    .parameter "duration"

    .prologue
    .line 1936
    const/16 v16, 0x1

    move-object/from16 v0, p0

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFEffect;->setTranslucentMode(Z)V

    .line 1937
    const/16 v16, 0x0

    move-object/from16 v0, p0

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFEffect;->setReflectingFloor(Z)V

    .line 1938
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v9, v0

    .line 1940
    .local v9, startIndex:I
    const/4 v6, 0x0

    .line 1941
    .local v6, reverse:I
    const/4 v12, 0x0

    .line 1942
    .local v12, timeLineStart:F
    const/high16 v11, 0x3f80

    .line 1943
    .local v11, timeLineEnd:F
    if-eqz p1, :cond_0

    .line 1944
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v9, v0

    .line 1945
    const/high16 v12, 0x3f80

    .line 1946
    const/4 v11, 0x0

    .line 1951
    :cond_0
    const/4 v14, 0x0

    .line 1952
    .local v14, x:F
    const/4 v15, 0x0

    .line 1954
    .local v15, y:F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    move-object/from16 v16, v0

    aget-object v10, v16, v9

    .line 1955
    .local v10, targetView:Landroid/view/View;
    const/16 v16, 0x2

    move/from16 v0, v16

    new-array v0, v0, [I

    move-object v13, v0

    .line 1956
    .local v13, viewLocation:[I
    invoke-virtual {v10, v13}, Landroid/view/View;->getLocationOnScreen([I)V

    .line 1958
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarStatus:I

    move/from16 v16, v0

    packed-switch v16, :pswitch_data_0

    .line 1968
    :goto_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    invoke-virtual/range {v16 .. v16}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v16

    invoke-virtual/range {v16 .. v16}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v5

    .line 1969
    .local v5, dm:Landroid/util/DisplayMetrics;
    iget v8, v5, Landroid/util/DisplayMetrics;->widthPixels:I

    .line 1970
    .local v8, screenWidth:I
    move-object v0, v5

    iget v0, v0, Landroid/util/DisplayMetrics;->heightPixels:I

    move/from16 v16, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarHeight:I

    move/from16 v17, v0

    sub-int v16, v16, v17

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    move/from16 v17, v0

    sub-int v7, v16, v17

    .line 1971
    .local v7, screenHeight:I
    const-string v16, "TFEffect"

    new-instance v17, Ljava/lang/StringBuilder;

    invoke-direct/range {v17 .. v17}, Ljava/lang/StringBuilder;-><init>()V

    const-string v18, "View position x:"

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    const/16 v18, 0x0

    aget v18, v13, v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v17

    const-string v18, " y:"

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    const/16 v18, 0x1

    aget v18, v13, v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v17

    invoke-virtual/range {v17 .. v17}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v17

    invoke-static/range {v16 .. v17}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1972
    const/16 v16, 0x0

    aget v16, v13, v16

    move/from16 v0, v16

    int-to-float v0, v0

    move/from16 v16, v0

    invoke-virtual {v10}, Landroid/view/View;->getWidth()I

    move-result v17

    move/from16 v0, v17

    int-to-float v0, v0

    move/from16 v17, v0

    const/high16 v18, 0x4000

    div-float v17, v17, v18

    add-float v16, v16, v17

    move v0, v8

    int-to-float v0, v0

    move/from16 v17, v0

    const/high16 v18, 0x4000

    div-float v17, v17, v18

    sub-float v16, v16, v17

    move v0, v8

    int-to-float v0, v0

    move/from16 v17, v0

    div-float v14, v16, v17

    .line 1973
    move v0, v7

    int-to-float v0, v0

    move/from16 v16, v0

    const/high16 v17, 0x4000

    div-float v16, v16, v17

    const/16 v17, 0x1

    aget v17, v13, v17

    move/from16 v0, v17

    int-to-float v0, v0

    move/from16 v17, v0

    invoke-virtual {v10}, Landroid/view/View;->getHeight()I

    move-result v18

    move/from16 v0, v18

    int-to-float v0, v0

    move/from16 v18, v0

    const/high16 v19, 0x4000

    div-float v18, v18, v19

    add-float v17, v17, v18

    sub-float v16, v16, v17

    move v0, v8

    int-to-float v0, v0

    move/from16 v17, v0

    div-float v15, v16, v17

    .line 1975
    new-instance v4, Lcom/nemustech/tiffany/world/TFPagePanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object/from16 v16, v0

    invoke-virtual {v10}, Landroid/view/View;->getWidth()I

    move-result v17

    move/from16 v0, v17

    int-to-float v0, v0

    move/from16 v17, v0

    move v0, v8

    int-to-float v0, v0

    move/from16 v18, v0

    div-float v17, v17, v18

    invoke-virtual {v10}, Landroid/view/View;->getHeight()I

    move-result v18

    move/from16 v0, v18

    int-to-float v0, v0

    move/from16 v18, v0

    move v0, v8

    int-to-float v0, v0

    move/from16 v19, v0

    div-float v18, v18, v19

    move-object v0, v4

    move-object/from16 v1, v16

    move/from16 v2, v17

    move/from16 v3, v18

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    .line 1976
    .local v4, currentPage:Lcom/nemustech/tiffany/world/TFPagePanel;
    const/16 v16, 0x0

    move-object v0, v4

    move v1, v14

    move v2, v15

    move/from16 v3, v16

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->locate(FFF)V

    .line 1977
    const/16 v16, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object/from16 v17, v0

    aget-object v17, v17, v9

    const/16 v18, 0x0

    move-object v0, v4

    move/from16 v1, v16

    move-object/from16 v2, v17

    move-object/from16 v3, v18

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1978
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    move-object/from16 v16, v0

    aget-object v16, v16, v9

    if-eqz v16, :cond_1

    const/16 v16, 0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    move-object/from16 v17, v0

    aget-object v17, v17, v9

    const/16 v18, 0x0

    move-object v0, v4

    move/from16 v1, v16

    move-object/from16 v2, v17

    move-object/from16 v3, v18

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1979
    :cond_1
    move-object v0, v4

    move/from16 v1, p2

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->setDirectionDegree(I)Z

    .line 1980
    invoke-virtual {v4, v12}, Lcom/nemustech/tiffany/world/TFPagePanel;->setTimeLine(F)Z

    .line 1981
    if-eqz v6, :cond_2

    .line 1982
    const/16 v16, 0x0

    move-object v0, v4

    move/from16 v1, v16

    move v2, v6

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPagePanel;->reverseImage(II)V

    .line 1984
    :cond_2
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object/from16 v16, v0

    new-instance v17, Lcom/nemustech/tiffany/world/TFEffect$24;

    move-object/from16 v0, v17

    move-object/from16 v1, p0

    move-object v2, v4

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect$24;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFPagePanel;)V

    invoke-virtual/range {v16 .. v17}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 2001
    move-object v0, v4

    move v1, v12

    move v2, v11

    move/from16 v3, p3

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setTimeLine(FFI)Z

    .line 2002
    return-void

    .line 1961
    .end local v4           #currentPage:Lcom/nemustech/tiffany/world/TFPagePanel;
    .end local v5           #dm:Landroid/util/DisplayMetrics;
    .end local v7           #screenHeight:I
    .end local v8           #screenWidth:I
    :pswitch_0
    const/16 v16, 0x1

    aget v17, v13, v16

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarHeight:I

    move/from16 v18, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    move/from16 v19, v0

    add-int v18, v18, v19

    sub-int v17, v17, v18

    aput v17, v13, v16

    goto/16 :goto_0

    .line 1964
    :pswitch_1
    const/16 v16, 0x1

    aget v17, v13, v16

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    move/from16 v18, v0

    sub-int v17, v17, v18

    aput v17, v13, v16

    goto/16 :goto_0

    .line 1958
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method private showEffectProjectorBoardDown(Z)V
    .locals 5
    .parameter "bReversed"

    .prologue
    const/4 v4, 0x1

    .line 1837
    new-instance v1, Lcom/nemustech/tiffany/world/TFAnimationSet;

    invoke-direct {v1}, Lcom/nemustech/tiffany/world/TFAnimationSet;-><init>()V

    .line 1839
    .local v1, set:Lcom/nemustech/tiffany/world/TFAnimationSet;
    const/4 v2, 0x4

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Lcom/nemustech/tiffany/world/TFAnimationSet;->getAnimation(IZ)Landroid/view/animation/Animation;

    move-result-object v0

    .line 1841
    .local v0, out:Landroid/view/animation/Animation;
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v2, v2, v4

    invoke-virtual {v2}, Landroid/widget/ImageView;->bringToFront()V

    .line 1843
    new-instance v2, Lcom/nemustech/tiffany/world/TFEffect$21;

    invoke-direct {v2, p0}, Lcom/nemustech/tiffany/world/TFEffect$21;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    invoke-virtual {v0, v2}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 1858
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v2, v2, v4

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1859
    return-void
.end method

.method private showEffectProjectorBoardUp(Z)V
    .locals 4
    .parameter "bReversed"

    .prologue
    const/4 v3, 0x0

    .line 1813
    new-instance v1, Lcom/nemustech/tiffany/world/TFAnimationSet;

    invoke-direct {v1}, Lcom/nemustech/tiffany/world/TFAnimationSet;-><init>()V

    .line 1815
    .local v1, set:Lcom/nemustech/tiffany/world/TFAnimationSet;
    const/4 v2, 0x3

    invoke-virtual {v1, v2, v3}, Lcom/nemustech/tiffany/world/TFAnimationSet;->getAnimation(IZ)Landroid/view/animation/Animation;

    move-result-object v0

    .line 1817
    .local v0, out:Landroid/view/animation/Animation;
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v2, v2, v3

    invoke-virtual {v2}, Landroid/widget/ImageView;->bringToFront()V

    .line 1819
    new-instance v2, Lcom/nemustech/tiffany/world/TFEffect$20;

    invoke-direct {v2, p0}, Lcom/nemustech/tiffany/world/TFEffect$20;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    invoke-virtual {v0, v2}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 1833
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v2, v2, v3

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1834
    return-void
.end method

.method private showEffectReplace()V
    .locals 10

    .prologue
    const/4 v9, 0x0

    const/4 v8, 0x2

    const/4 v7, 0x1

    const/4 v6, 0x0

    .line 917
    new-instance v0, Lcom/nemustech/tiffany/world/TFCircularHolder;

    const/high16 v3, 0x3f00

    invoke-direct {v0, v3}, Lcom/nemustech/tiffany/world/TFCircularHolder;-><init>(F)V

    .line 918
    .local v0, circularRail:Lcom/nemustech/tiffany/world/TFCircularHolder;
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFCircularHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 919
    invoke-virtual {v0, v6}, Lcom/nemustech/tiffany/world/TFCircularHolder;->setFadingEffect(Z)V

    .line 920
    const/4 v3, 0x0

    iget v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    neg-float v4, v4

    const/high16 v5, 0x4000

    div-float/2addr v4, v5

    const/high16 v5, -0x4100

    invoke-virtual {v0, v3, v4, v5}, Lcom/nemustech/tiffany/world/TFCircularHolder;->locate(FFF)V

    .line 922
    invoke-virtual {v0, v7}, Lcom/nemustech/tiffany/world/TFCircularHolder;->setEndlessMode(Z)V

    .line 924
    new-array v2, v8, [Lcom/nemustech/tiffany/world/TFPanel;

    .line 925
    .local v2, panel:[Lcom/nemustech/tiffany/world/TFPanel;
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    if-ge v1, v8, :cond_0

    .line 927
    new-instance v3, Lcom/nemustech/tiffany/world/TFPanel;

    iget v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v3, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    aput-object v3, v2, v1

    .line 928
    aget-object v3, v2, v1

    invoke-virtual {v3, v7}, Lcom/nemustech/tiffany/world/TFPanel;->setFaceFront(Z)V

    .line 929
    aget-object v3, v2, v1

    invoke-virtual {v0, v3, v1, v6}, Lcom/nemustech/tiffany/world/TFCircularHolder;->addModel(Lcom/nemustech/tiffany/world/TFModel;IZ)Z

    .line 925
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 932
    :cond_0
    aget-object v3, v2, v6

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    iget v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    aget-object v4, v4, v5

    invoke-virtual {v3, v6, v4, v9}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 933
    aget-object v3, v2, v7

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    iget v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    aget-object v4, v4, v5

    invoke-virtual {v3, v6, v4, v9}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 936
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    new-instance v4, Lcom/nemustech/tiffany/world/TFEffect$6;

    invoke-direct {v4, p0, v2}, Lcom/nemustech/tiffany/world/TFEffect$6;-><init>(Lcom/nemustech/tiffany/world/TFEffect;[Lcom/nemustech/tiffany/world/TFPanel;)V

    invoke-virtual {v3, v4}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 942
    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFCircularHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v3

    new-instance v4, Lcom/nemustech/tiffany/world/TFEffect$7;

    invoke-direct {v4, p0, v2}, Lcom/nemustech/tiffany/world/TFEffect$7;-><init>(Lcom/nemustech/tiffany/world/TFEffect;[Lcom/nemustech/tiffany/world/TFPanel;)V

    invoke-virtual {v3, v4}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->setAnimationEventListener(Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V

    .line 954
    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFCircularHolder;->getHeadItemIndex()I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    const/16 v4, 0x1f4

    invoke-virtual {v0, v3, v4}, Lcom/nemustech/tiffany/world/TFCircularHolder;->setHeadItemIndex(II)V

    .line 955
    return-void
.end method

.method private showEffectRevolvingDoor()V
    .locals 10

    .prologue
    const/4 v9, 0x2

    const/4 v8, 0x1

    const/high16 v5, 0x4000

    const/4 v7, 0x0

    const/4 v6, 0x0

    .line 958
    new-instance v2, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;

    const/high16 v3, 0x42b4

    invoke-direct {v2, v7, v3}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;-><init>(FF)V

    .line 959
    .local v2, verticalAxis:Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 960
    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    div-float/2addr v3, v5

    neg-float v3, v3

    iget v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    div-float/2addr v4, v5

    neg-float v4, v4

    invoke-virtual {v2, v3, v4, v7}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->locate(FFF)V

    .line 961
    const/high16 v3, 0x4370

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->setOpenRangeAngle(F)V

    .line 962
    invoke-virtual {v2, v8}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->setEndlessMode(Z)V

    .line 966
    new-array v1, v9, [Lcom/nemustech/tiffany/world/TFPanel;

    .line 967
    .local v1, p:[Lcom/nemustech/tiffany/world/TFPanel;
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    if-ge v0, v9, :cond_0

    .line 968
    new-instance v3, Lcom/nemustech/tiffany/world/TFPanel;

    iget v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v3, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    aput-object v3, v1, v0

    .line 969
    aget-object v3, v1, v0

    invoke-virtual {v2, v3, v0, v6}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->addModel(Lcom/nemustech/tiffany/world/TFModel;IZ)Z

    .line 967
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 972
    :cond_0
    aget-object v3, v1, v6

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    iget v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    aget-object v4, v4, v5

    const/4 v5, 0x0

    invoke-virtual {v3, v6, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 973
    aget-object v3, v1, v8

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    iget v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    aget-object v4, v4, v5

    const/4 v5, 0x0

    invoke-virtual {v3, v6, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 975
    new-instance v3, Lcom/nemustech/tiffany/world/TFEffect$8;

    invoke-direct {v3, p0, v1}, Lcom/nemustech/tiffany/world/TFEffect$8;-><init>(Lcom/nemustech/tiffany/world/TFEffect;[Lcom/nemustech/tiffany/world/TFPanel;)V

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 982
    const/high16 v3, -0x3d4c

    const-wide/16 v4, 0x1f4

    invoke-virtual {v2, v3, v7, v4, v5}, Lcom/nemustech/tiffany/world/TFVerticalAxisHolder;->rotate(FFJ)V

    .line 998
    return-void
.end method

.method private showEffectSink_FlexiblePanel(Z)V
    .locals 14
    .parameter "bReversed"

    .prologue
    const/4 v13, 0x0

    const/4 v12, 0x0

    const/4 v11, 0x0

    .line 1644
    const/4 v6, 0x0

    .line 1645
    .local v6, x:F
    const/4 v7, 0x0

    .line 1646
    .local v7, y:F
    iget v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    .line 1647
    .local v5, startIndex:I
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    .line 1648
    .local v1, endIndex:I
    const/4 v3, 0x0

    .line 1650
    .local v3, reverse:I
    new-instance v2, Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v10, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v2, v8, v9, v10}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    .line 1651
    .local v2, nextPage:Lcom/nemustech/tiffany/world/TFPanel;
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v8, v8, v1

    invoke-virtual {v2, v12, v8, v13}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1652
    const v8, -0x457ced91

    invoke-virtual {v2, v11, v11, v8}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1654
    new-instance v0, Lcom/nemustech/tiffany/world/TFFlexiblePanel;

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v10, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v0, v8, v9, v10}, Lcom/nemustech/tiffany/world/TFFlexiblePanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    .line 1655
    .local v0, currentPage:Lcom/nemustech/tiffany/world/TFFlexiblePanel;
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v8, v8, v5

    invoke-virtual {v0, v12, v8, v13}, Lcom/nemustech/tiffany/world/TFFlexiblePanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1656
    invoke-virtual {v0, v6, v7, v11}, Lcom/nemustech/tiffany/world/TFFlexiblePanel;->locate(FFF)V

    .line 1657
    if-eqz v3, :cond_0

    .line 1658
    invoke-virtual {v0, v12, v3}, Lcom/nemustech/tiffany/world/TFFlexiblePanel;->reverseImage(II)V

    .line 1660
    :cond_0
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    new-instance v9, Lcom/nemustech/tiffany/world/TFEffect$15;

    invoke-direct {v9, p0, v0}, Lcom/nemustech/tiffany/world/TFEffect$15;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFFlexiblePanel;)V

    invoke-virtual {v8, v9}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1666
    new-instance v4, Lcom/nemustech/tiffany/world/TFEffect$Sink;

    invoke-direct {v4}, Lcom/nemustech/tiffany/world/TFEffect$Sink;-><init>()V

    .line 1667
    .local v4, sink:Lcom/nemustech/tiffany/world/TFEffect$Sink;
    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFFlexiblePanel;->setPointBlender(Lcom/nemustech/tiffany/world/TFFlexiblePanel$PointBlender;)V

    .line 1668
    return-void
.end method

.method private showEffectTwist(Z)V
    .locals 11
    .parameter "bReversed"

    .prologue
    const/4 v10, 0x0

    const/4 v9, 0x1

    const/4 v8, 0x0

    .line 2228
    iput-boolean v8, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDepthTest:Z

    .line 2229
    iput-boolean v9, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEconomic:Z

    .line 2233
    new-instance v0, Lcom/nemustech/tiffany/world/TFCustomPanel;

    iget v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    iget v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    invoke-direct {v0, v6, v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;-><init>(FF)V

    .line 2234
    .local v0, cusPanel:Lcom/nemustech/tiffany/world/TFCustomPanel;
    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v0, v6}, Lcom/nemustech/tiffany/world/TFCustomPanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 2236
    const/4 v4, 0x0

    .line 2237
    .local v4, x:F
    const/4 v5, 0x0

    .line 2238
    .local v5, y:F
    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    .line 2239
    .local v2, startIndex:I
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    .line 2241
    .local v1, endIndex:I
    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v6, v6, v2

    invoke-virtual {v0, v8, v6, v10}, Lcom/nemustech/tiffany/world/TFCustomPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 2242
    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v6, v6, v1

    invoke-virtual {v0, v9, v6, v10}, Lcom/nemustech/tiffany/world/TFCustomPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 2243
    const/4 v6, 0x0

    invoke-virtual {v0, v4, v5, v6}, Lcom/nemustech/tiffany/world/TFCustomPanel;->locate(FFF)V

    .line 2245
    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    new-instance v7, Lcom/nemustech/tiffany/world/TFEffect$31;

    invoke-direct {v7, p0, v0}, Lcom/nemustech/tiffany/world/TFEffect$31;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFCustomPanel;)V

    invoke-virtual {v6, v7}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 2250
    new-instance v3, Lcom/nemustech/tiffany/world/TFTwistEffect;

    invoke-direct {v3, v0}, Lcom/nemustech/tiffany/world/TFTwistEffect;-><init>(Lcom/nemustech/tiffany/world/TFCustomPanel;)V

    .line 2251
    .local v3, tw:Lcom/nemustech/tiffany/world/TFTwistEffect;
    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTwistParam:Lcom/nemustech/tiffany/world/TFEffect$TwistParam;

    if-eqz v6, :cond_0

    .line 2252
    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTwistParam:Lcom/nemustech/tiffany/world/TFEffect$TwistParam;

    invoke-virtual {v6, v3}, Lcom/nemustech/tiffany/world/TFEffect$TwistParam;->setParam(Lcom/nemustech/tiffany/world/TFTwistEffect;)V

    .line 2253
    :cond_0
    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFCustomPanel;->startBlender(Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;)V

    .line 2254
    return-void
.end method

.method private showEffectVerticalColumn(Z)V
    .locals 30
    .parameter "bReversed"

    .prologue
    .line 1225
    const-wide/16 v17, 0x12c

    .line 1226
    .local v17, duration:J
    const/4 v13, 0x4

    .line 1227
    .local v13, MOSAIC_HORZ_NUM:I
    const/4 v14, 0x1

    .line 1228
    .local v14, MOSAIC_VERT_NUM:I
    const/16 v16, 0x4

    .line 1229
    .local v16, TOTAL_COUNT:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    div-int/lit8 v15, v5, 0x4

    .line 1230
    .local v15, MOSAIC_WIDTH:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v5

    div-int/lit8 v12, v5, 0x1

    .line 1232
    .local v12, MOSAIC_HEIGHT:I
    const/4 v5, 0x4

    move v0, v5

    new-array v0, v0, [F

    move-object/from16 v20, v0

    .line 1233
    .local v20, locX:[F
    const/4 v5, 0x4

    move v0, v5

    new-array v0, v0, [F

    move-object/from16 v21, v0

    .line 1234
    .local v21, locY:[F
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move v5, v0

    const/high16 v6, 0x4080

    div-float v24, v5, v6

    .line 1235
    .local v24, panelWidth:F
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move/from16 v23, v0

    .line 1237
    .local v23, panelHeight:F
    const/4 v5, 0x4

    move v0, v5

    new-array v0, v0, [Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v22, v0

    .line 1238
    .local v22, panel:[Lcom/nemustech/tiffany/world/TFPanel;
    new-instance v25, Landroid/graphics/Rect;

    invoke-direct/range {v25 .. v25}, Landroid/graphics/Rect;-><init>()V

    .line 1239
    .local v25, rectMosaic:Landroid/graphics/Rect;
    const/16 v19, 0x0

    .line 1241
    .local v19, index:I
    const/4 v5, 0x0

    move v0, v5

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishCnt:I

    .line 1243
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v5, v0

    new-instance v6, Lcom/nemustech/tiffany/world/TFEffect$11;

    move-object v0, v6

    move-object/from16 v1, p0

    move-object/from16 v2, v22

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect$11;-><init>(Lcom/nemustech/tiffany/world/TFEffect;[Lcom/nemustech/tiffany/world/TFPanel;)V

    invoke-virtual {v5, v6}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1252
    const/16 v29, 0x0

    .local v29, y:I
    :goto_0
    const/4 v5, 0x1

    move/from16 v0, v29

    move v1, v5

    if-ge v0, v1, :cond_3

    .line 1253
    const/16 v28, 0x0

    .local v28, x:I
    :goto_1
    const/4 v5, 0x4

    move/from16 v0, v28

    move v1, v5

    if-ge v0, v1, :cond_2

    .line 1254
    mul-int/lit8 v5, v29, 0x4

    add-int v19, v5, v28

    .line 1257
    new-instance v5, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v6, v0

    move-object v0, v5

    move-object v1, v6

    move/from16 v2, v24

    move/from16 v3, v23

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    aput-object v5, v22, v19

    .line 1260
    mul-int v5, v28, v15

    mul-int v6, v29, v12

    mul-int v7, v28, v15

    add-int/2addr v7, v15

    mul-int v8, v29, v12

    add-int/2addr v8, v12

    move-object/from16 v0, v25

    move v1, v5

    move v2, v6

    move v3, v7

    move v4, v8

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 1263
    aget-object v5, v22, v19

    const/4 v6, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v7, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v8, v0

    aget-object v7, v7, v8

    move-object v0, v5

    move v1, v6

    move-object v2, v7

    move-object/from16 v3, v25

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1264
    aget-object v5, v22, v19

    const/4 v6, 0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v7, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v8, v0

    aget-object v7, v7, v8

    move-object v0, v5

    move v1, v6

    move-object v2, v7

    move-object/from16 v3, v25

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1266
    const/high16 v5, -0x4100

    move/from16 v0, v19

    int-to-float v0, v0

    move v6, v0

    mul-float v6, v6, v24

    add-float/2addr v5, v6

    const/high16 v6, 0x4000

    div-float v6, v24, v6

    add-float/2addr v5, v6

    aput v5, v20, v19

    .line 1267
    const/4 v5, 0x0

    aput v5, v21, v19

    .line 1270
    aget-object v5, v22, v19

    aget v6, v20, v19

    aget v7, v21, v19

    const/4 v8, 0x0

    invoke-virtual {v5, v6, v7, v8}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1273
    if-eqz p1, :cond_0

    const/4 v5, 0x4

    sub-int v5, v5, v19

    const/4 v6, 0x1

    sub-int/2addr v5, v6

    :goto_2
    mul-int/lit16 v5, v5, 0xc8

    move v0, v5

    int-to-long v0, v0

    move-wide/from16 v26, v0

    .line 1274
    .local v26, waitTime:J
    aget-object v5, v22, v19

    move-object v0, v5

    move-wide/from16 v1, v26

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setWait(J)V

    .line 1280
    if-eqz p1, :cond_1

    const/4 v5, 0x1

    move v10, v5

    .line 1281
    .local v10, direction:I
    :goto_3
    aget-object v5, v22, v19

    const/high16 v6, 0x4334

    const/4 v7, 0x0

    const-wide/16 v8, 0x12c

    move v11, v10

    invoke-virtual/range {v5 .. v11}, Lcom/nemustech/tiffany/world/TFPanel;->rotate(FFJII)V

    .line 1253
    add-int/lit8 v28, v28, 0x1

    goto/16 :goto_1

    .end local v10           #direction:I
    .end local v26           #waitTime:J
    :cond_0
    move/from16 v5, v19

    .line 1273
    goto :goto_2

    .line 1280
    .restart local v26       #waitTime:J
    :cond_1
    const/4 v5, 0x0

    move v10, v5

    goto :goto_3

    .line 1252
    .end local v26           #waitTime:J
    :cond_2
    add-int/lit8 v29, v29, 0x1

    goto/16 :goto_0

    .line 1284
    .end local v28           #x:I
    :cond_3
    return-void
.end method

.method private showEffectVerticalPageOver(Z)V
    .locals 27
    .parameter "bReversed"

    .prologue
    .line 1452
    const v25, 0x3f0ccccd

    .line 1453
    .local v25, speedRotate:F
    const-wide/16 v20, 0x147

    .line 1454
    .local v20, duration:J
    const/16 v24, 0x0

    .local v24, panelWidth:F
    const/16 v23, 0x0

    .line 1457
    .local v23, panelHeight:F
    new-instance v26, Landroid/graphics/Rect;

    invoke-direct/range {v26 .. v26}, Landroid/graphics/Rect;-><init>()V

    .line 1458
    .local v26, upRect:Landroid/graphics/Rect;
    new-instance v19, Landroid/graphics/Rect;

    invoke-direct/range {v19 .. v19}, Landroid/graphics/Rect;-><init>()V

    .line 1460
    .local v19, downRect:Landroid/graphics/Rect;
    const/4 v5, 0x0

    move-object/from16 v0, p0

    move v1, v5

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFEffect;->setReflectingFloor(Z)V

    .line 1462
    move-object/from16 v0, p0

    iget-boolean v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildViewUseFull:Z

    move v5, v0

    if-nez v5, :cond_0

    .line 1463
    const/4 v5, 0x1

    move-object/from16 v0, p0

    move v1, v5

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFEffect;->setTranslucentMode(Z)V

    .line 1464
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    move-object v5, v0

    const/4 v6, 0x1

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/view/View;->getWidth()I

    move-result v5

    int-to-float v5, v5

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    move v6, v0

    int-to-float v6, v6

    div-float v24, v5, v6

    .line 1465
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    move-object v5, v0

    const/4 v6, 0x1

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/view/View;->getHeight()I

    move-result v5

    int-to-float v5, v5

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    move v6, v0

    int-to-float v6, v6

    div-float v23, v5, v6

    .line 1471
    :goto_0
    new-instance v10, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;

    const/4 v5, 0x0

    if-eqz p1, :cond_1

    const/high16 v6, 0x4334

    :goto_1
    invoke-direct {v10, v5, v6}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;-><init>(FF)V

    .line 1472
    .local v10, horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v5, v0

    invoke-virtual {v10, v5}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 1474
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    const/high16 v6, 0x3f00

    move-object/from16 v0, p0

    move-object v1, v5

    move v2, v6

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect;->getViewLocation(Landroid/view/View;F)[F

    move-result-object v22

    .line 1475
    .local v22, loc:[F
    const/4 v5, 0x0

    aget v5, v22, v5

    const/4 v6, 0x1

    aget v6, v22, v6

    const/4 v7, 0x0

    invoke-virtual {v10, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->locate(FFF)V

    .line 1479
    new-instance v7, Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v5, 0x4000

    div-float v5, v23, v5

    move-object v0, v7

    move/from16 v1, v24

    move v2, v5

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    .line 1480
    .local v7, rotate_panel:Lcom/nemustech/tiffany/world/TFPanel;
    new-instance v8, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v5, v0

    const/high16 v6, 0x4000

    div-float v6, v23, v6

    move-object v0, v8

    move-object v1, v5

    move/from16 v2, v24

    move v3, v6

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    .line 1481
    .local v8, current_up_panel:Lcom/nemustech/tiffany/world/TFPanel;
    new-instance v9, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v5, v0

    const/high16 v6, 0x4000

    div-float v6, v23, v6

    move-object v0, v9

    move-object v1, v5

    move/from16 v2, v24

    move v3, v6

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFWorld;FF)V

    .line 1483
    .local v9, next_down_panel:Lcom/nemustech/tiffany/world/TFPanel;
    const/4 v5, 0x0

    const/4 v6, 0x0

    invoke-virtual {v10, v7, v5, v6}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->addModel(Lcom/nemustech/tiffany/world/TFModel;IZ)Z

    .line 1485
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v18

    .line 1486
    .local v18, bmpWidth:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v5

    div-int/lit8 v17, v5, 0x2

    .line 1488
    .local v17, bmpHeight:I
    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object/from16 v0, v26

    move v1, v5

    move v2, v6

    move/from16 v3, v18

    move/from16 v4, v17

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 1489
    const/4 v5, 0x0

    mul-int/lit8 v6, v17, 0x2

    move-object/from16 v0, v19

    move v1, v5

    move/from16 v2, v17

    move/from16 v3, v18

    move v4, v6

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 1491
    if-eqz p1, :cond_4

    .line 1494
    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v11, v0

    aget-object v6, v6, v11

    move-object v0, v7

    move v1, v5

    move-object v2, v6

    move-object/from16 v3, v19

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1495
    const/4 v5, 0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v11, v0

    aget-object v6, v6, v11

    move-object v0, v7

    move v1, v5

    move-object v2, v6

    move-object/from16 v3, v26

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1496
    const/4 v5, 0x1

    const/4 v6, 0x3

    invoke-virtual {v7, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;->reverseImage(II)V

    .line 1499
    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v11, v0

    aget-object v6, v6, v11

    move-object v0, v8

    move v1, v5

    move-object v2, v6

    move-object/from16 v3, v26

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1500
    move-object/from16 v0, p0

    iget-boolean v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildViewUseFull:Z

    move v5, v0

    if-nez v5, :cond_2

    .line 1501
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    const/high16 v6, 0x3e80

    move-object/from16 v0, p0

    move-object v1, v5

    move v2, v6

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect;->getViewLocation(Landroid/view/View;F)[F

    move-result-object v22

    .line 1502
    const/4 v5, 0x0

    aget v5, v22, v5

    const/4 v6, 0x1

    aget v6, v22, v6

    const/4 v11, 0x0

    invoke-virtual {v8, v5, v6, v11}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1508
    :goto_2
    const-string v5, "sdcard/check.png"

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v11, v0

    aget-object v6, v6, v11

    sget-object v11, Landroid/graphics/Bitmap$CompressFormat;->PNG:Landroid/graphics/Bitmap$CompressFormat;

    const/4 v12, 0x1

    invoke-static {v5, v6, v11, v12}, Lcom/nemustech/tiffany/world/TFUtils;->saveBitmapToFile(Ljava/lang/String;Landroid/graphics/Bitmap;Landroid/graphics/Bitmap$CompressFormat;I)Z

    .line 1509
    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v11, v0

    aget-object v6, v6, v11

    move-object v0, v9

    move v1, v5

    move-object v2, v6

    move-object/from16 v3, v19

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1510
    move-object/from16 v0, p0

    iget-boolean v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildViewUseFull:Z

    move v5, v0

    if-nez v5, :cond_3

    .line 1511
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    const/high16 v6, 0x3f40

    move-object/from16 v0, p0

    move-object v1, v5

    move v2, v6

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect;->getViewLocation(Landroid/view/View;F)[F

    move-result-object v22

    .line 1512
    const/4 v5, 0x0

    aget v5, v22, v5

    const/4 v6, 0x1

    aget v6, v22, v6

    const/4 v11, 0x0

    invoke-virtual {v9, v5, v6, v11}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1543
    :goto_3
    const/4 v5, 0x0

    move v0, v5

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishCnt:I

    .line 1544
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v11, v0

    new-instance v5, Lcom/nemustech/tiffany/world/TFEffect$14;

    move-object/from16 v6, p0

    invoke-direct/range {v5 .. v10}, Lcom/nemustech/tiffany/world/TFEffect$14;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;)V

    invoke-virtual {v11, v5}, Lcom/nemustech/tiffany/world/TFWorld;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1613
    if-eqz p1, :cond_7

    .line 1615
    const/4 v11, 0x0

    const/high16 v12, -0x3ccc

    const-wide/16 v13, 0x147

    const/4 v15, 0x1

    const/16 v16, 0x1

    invoke-virtual/range {v10 .. v16}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->rotate(FFJII)V

    .line 1619
    :goto_4
    return-void

    .line 1467
    .end local v7           #rotate_panel:Lcom/nemustech/tiffany/world/TFPanel;
    .end local v8           #current_up_panel:Lcom/nemustech/tiffany/world/TFPanel;
    .end local v9           #next_down_panel:Lcom/nemustech/tiffany/world/TFPanel;
    .end local v10           #horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;
    .end local v17           #bmpHeight:I
    .end local v18           #bmpWidth:I
    .end local v22           #loc:[F
    :cond_0
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    move/from16 v24, v0

    .line 1468
    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    move/from16 v23, v0

    goto/16 :goto_0

    .line 1471
    :cond_1
    const/4 v6, 0x0

    goto/16 :goto_1

    .line 1504
    .restart local v7       #rotate_panel:Lcom/nemustech/tiffany/world/TFPanel;
    .restart local v8       #current_up_panel:Lcom/nemustech/tiffany/world/TFPanel;
    .restart local v9       #next_down_panel:Lcom/nemustech/tiffany/world/TFPanel;
    .restart local v10       #horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;
    .restart local v17       #bmpHeight:I
    .restart local v18       #bmpWidth:I
    .restart local v22       #loc:[F
    :cond_2
    const/4 v5, 0x0

    const/high16 v6, 0x4080

    div-float v6, v23, v6

    const/4 v11, 0x0

    invoke-virtual {v8, v5, v6, v11}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    goto/16 :goto_2

    .line 1514
    :cond_3
    const/4 v5, 0x0

    const/high16 v6, 0x4080

    div-float v6, v23, v6

    neg-float v6, v6

    const/4 v11, 0x0

    invoke-virtual {v9, v5, v6, v11}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    goto :goto_3

    .line 1520
    :cond_4
    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v11, v0

    aget-object v6, v6, v11

    move-object v0, v7

    move v1, v5

    move-object v2, v6

    move-object/from16 v3, v26

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1521
    const/4 v5, 0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v11, v0

    aget-object v6, v6, v11

    move-object v0, v7

    move v1, v5

    move-object v2, v6

    move-object/from16 v3, v19

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1522
    const/4 v5, 0x1

    const/4 v6, 0x3

    invoke-virtual {v7, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;->reverseImage(II)V

    .line 1525
    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    move v11, v0

    aget-object v6, v6, v11

    move-object v0, v8

    move v1, v5

    move-object v2, v6

    move-object/from16 v3, v26

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1526
    move-object/from16 v0, p0

    iget-boolean v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildViewUseFull:Z

    move v5, v0

    if-nez v5, :cond_5

    .line 1527
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    const/high16 v6, 0x3e80

    move-object/from16 v0, p0

    move-object v1, v5

    move v2, v6

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect;->getViewLocation(Landroid/view/View;F)[F

    move-result-object v22

    .line 1528
    const/4 v5, 0x0

    aget v5, v22, v5

    const/4 v6, 0x1

    aget v6, v22, v6

    const/4 v11, 0x0

    invoke-virtual {v8, v5, v6, v11}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1534
    :goto_5
    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    move-object v6, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v11, v0

    aget-object v6, v6, v11

    move-object v0, v9

    move v1, v5

    move-object v2, v6

    move-object/from16 v3, v19

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1535
    move-object/from16 v0, p0

    iget-boolean v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildViewUseFull:Z

    move v5, v0

    if-nez v5, :cond_6

    .line 1536
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    move-object v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    move v6, v0

    aget-object v5, v5, v6

    const/high16 v6, 0x3f40

    move-object/from16 v0, p0

    move-object v1, v5

    move v2, v6

    invoke-direct {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect;->getViewLocation(Landroid/view/View;F)[F

    move-result-object v22

    .line 1537
    const/4 v5, 0x0

    aget v5, v22, v5

    const/4 v6, 0x1

    aget v6, v22, v6

    const/4 v11, 0x0

    invoke-virtual {v9, v5, v6, v11}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    goto/16 :goto_3

    .line 1530
    :cond_5
    const/4 v5, 0x0

    const/high16 v6, 0x4080

    div-float v6, v23, v6

    const/4 v11, 0x0

    invoke-virtual {v8, v5, v6, v11}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    goto :goto_5

    .line 1539
    :cond_6
    const/4 v5, 0x0

    const/high16 v6, 0x4080

    div-float v6, v23, v6

    neg-float v6, v6

    const/4 v11, 0x0

    invoke-virtual {v9, v5, v6, v11}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    goto/16 :goto_3

    .line 1618
    :cond_7
    const/4 v11, 0x0

    const/high16 v12, 0x4334

    const-wide/16 v13, 0x147

    const/4 v15, 0x0

    const/16 v16, 0x0

    invoke-virtual/range {v10 .. v16}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->rotate(FFJII)V

    goto/16 :goto_4
.end method

.method private syncBitmaps()V
    .locals 8

    .prologue
    const/4 v7, 0x1

    const/4 v6, 0x0

    .line 183
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v3, v3, v6

    if-eqz v3, :cond_2

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v3, v3, v7

    if-eqz v3, :cond_2

    .line 186
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v3, v3, v6

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v3

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v4, v4, v7

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    if-gt v3, v4, :cond_1

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v3, v3, v6

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v3

    move v1, v3

    .line 190
    .local v1, lowerHeight:I
    :goto_0
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    const/4 v3, 0x2

    if-ge v0, v3, :cond_2

    .line 192
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v3, v3, v0

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v3

    if-le v3, v1, :cond_0

    .line 195
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v3, v3, v0

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v4, v4, v0

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    sub-int/2addr v4, v1

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v5, v5, v0

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    invoke-static {v3, v6, v4, v5, v1}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIII)Landroid/graphics/Bitmap;

    move-result-object v2

    .line 200
    .local v2, newBitmap:Landroid/graphics/Bitmap;
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aput-object v2, v3, v0

    .line 201
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mRecycleSafe:[Z

    aput-boolean v7, v3, v0

    .line 190
    .end local v2           #newBitmap:Landroid/graphics/Bitmap;
    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 186
    .end local v0           #i:I
    .end local v1           #lowerHeight:I
    :cond_1
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v3, v3, v7

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v3

    move v1, v3

    goto :goto_0

    .line 205
    :cond_2
    return-void
.end method


# virtual methods
.method public addView(Landroid/view/View;I)V
    .locals 1
    .parameter "child"
    .parameter "index"

    .prologue
    .line 137
    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->addView(Landroid/view/View;Landroid/graphics/Bitmap;I)V

    .line 138
    return-void
.end method

.method public addView(Landroid/view/View;Landroid/graphics/Bitmap;I)V
    .locals 5
    .parameter "child"
    .parameter "bmp"
    .parameter "index"

    .prologue
    const/4 v4, 0x0

    const/4 v3, 0x1

    .line 151
    if-eqz p3, :cond_1

    if-eq p3, v3, :cond_1

    .line 179
    :cond_0
    :goto_0
    return-void

    .line 156
    :cond_1
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aput-object p1, v1, p3

    .line 157
    if-eqz p1, :cond_2

    .line 158
    if-nez p3, :cond_2

    .line 159
    invoke-virtual {p1}, Landroid/view/View;->getRootView()Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/view/ViewGroup;

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUIViewParent:Landroid/view/ViewGroup;

    .line 162
    :cond_2
    if-nez p2, :cond_4

    .line 163
    if-eqz p1, :cond_0

    .line 167
    invoke-virtual {p1, v3}, Landroid/view/View;->setDrawingCacheEnabled(Z)V

    .line 169
    invoke-virtual {p1}, Landroid/view/View;->getDrawingCache()Landroid/graphics/Bitmap;

    move-result-object v0

    .line 170
    .local v0, cachedBitmap:Landroid/graphics/Bitmap;
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    invoke-static {v0}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;

    move-result-object v2

    aput-object v2, v1, p3

    .line 171
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mRecycleSafe:[Z

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v2, v2, p3

    if-eq v0, v2, :cond_3

    move v2, v3

    :goto_1
    aput-boolean v2, v1, p3

    .line 178
    .end local v0           #cachedBitmap:Landroid/graphics/Bitmap;
    :goto_2
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFEffect;->syncBitmaps()V

    goto :goto_0

    .restart local v0       #cachedBitmap:Landroid/graphics/Bitmap;
    :cond_3
    move v2, v4

    .line 171
    goto :goto_1

    .line 174
    .end local v0           #cachedBitmap:Landroid/graphics/Bitmap;
    :cond_4
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mRecycleSafe:[Z

    aput-boolean v4, v1, p3

    .line 175
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aput-object p2, v1, p3

    goto :goto_2
.end method

.method public captureDialog(Landroid/app/Dialog;)V
    .locals 5
    .parameter "dlg"

    .prologue
    .line 2711
    move-object v1, p1

    .line 2712
    .local v1, dialog:Landroid/app/Dialog;
    invoke-virtual {v1}, Landroid/app/Dialog;->show()V

    .line 2714
    invoke-virtual {p1}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v2

    .line 2715
    .local v2, popupWindow:Landroid/view/Window;
    invoke-virtual {v2}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    .line 2716
    .local v0, decorView:Landroid/view/View;
    const/4 v3, 0x1

    invoke-virtual {v0, v3}, Landroid/view/View;->setDrawingCacheEnabled(Z)V

    .line 2717
    const/4 v3, 0x4

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    .line 2719
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mHandler:Landroid/os/Handler;

    new-instance v4, Lcom/nemustech/tiffany/world/TFEffect$32;

    invoke-direct {v4, p0, v0, v1}, Lcom/nemustech/tiffany/world/TFEffect$32;-><init>(Lcom/nemustech/tiffany/world/TFEffect;Landroid/view/View;Landroid/app/Dialog;)V

    invoke-virtual {v3, v4}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 2728
    return-void
.end method

.method public finishDrag(IZ)V
    .locals 9
    .parameter "duration"
    .parameter "canceled"

    .prologue
    const/4 v8, 0x1

    const/4 v7, 0x0

    .line 2885
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFEffect;->isActive()Z

    move-result v3

    if-eqz v3, :cond_0

    .line 2886
    move v1, p1

    .line 2887
    .local v1, f_duration:I
    move v0, p2

    .line 2889
    .local v0, f_canceled:Z
    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectKind:I

    sparse-switch v3, :sswitch_data_0

    .line 2909
    .end local v0           #f_canceled:Z
    .end local v1           #f_duration:I
    :cond_0
    :goto_0
    return-void

    .line 2894
    .restart local v0       #f_canceled:Z
    .restart local v1       #f_duration:I
    :sswitch_0
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    invoke-virtual {v3, v4}, Lcom/nemustech/tiffany/world/TFPagePanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 2895
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    invoke-virtual {v4}, Lcom/nemustech/tiffany/world/TFPagePanel;->getTimeLine()F

    move-result v4

    if-eqz v0, :cond_1

    move v5, v7

    :goto_1
    int-to-float v5, v5

    const/4 v6, 0x0

    invoke-virtual {v3, v4, v5, v1, v6}, Lcom/nemustech/tiffany/world/TFPagePanel;->setTimeLine(FFILandroid/view/animation/Interpolator;)Z

    .line 2900
    if-eqz v0, :cond_0

    .line 2902
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aget-object v2, v3, v7

    .line 2903
    .local v2, swap:Landroid/view/View;
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aget-object v4, v4, v8

    aput-object v4, v3, v7

    .line 2904
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aput-object v2, v3, v8

    goto :goto_0

    .end local v2           #swap:Landroid/view/View;
    :cond_1
    move v5, v8

    .line 2895
    goto :goto_1

    .line 2889
    :sswitch_data_0
    .sparse-switch
        0xb -> :sswitch_0
        0xd -> :sswitch_0
        0x15 -> :sswitch_0
        0x16 -> :sswitch_0
    .end sparse-switch
.end method

.method public getPagePanel()Lcom/nemustech/tiffany/world/TFPagePanel;
    .locals 1

    .prologue
    .line 2778
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    return-object v0
.end method

.method public getTwistParam()Lcom/nemustech/tiffany/world/TFEffect$TwistParam;
    .locals 1

    .prologue
    .line 2700
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTwistParam:Lcom/nemustech/tiffany/world/TFEffect$TwistParam;

    return-object v0
.end method

.method public init()V
    .locals 5

    .prologue
    const/4 v4, 0x1

    const/4 v3, 0x0

    const/4 v2, 0x0

    .line 212
    iput-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mCoverImage:Landroid/graphics/Bitmap;

    .line 214
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    const/4 v1, 0x2

    if-ge v0, v1, :cond_2

    .line 216
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v1, v1, v0

    if-eqz v1, :cond_1

    .line 218
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mRecycleSafe:[Z

    aget-boolean v1, v1, v0

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v1, v1, v0

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v1

    if-nez v1, :cond_0

    .line 219
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aget-object v1, v1, v0

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->recycle()V

    .line 220
    :cond_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    aput-object v3, v1, v0

    .line 222
    :cond_1
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aput-object v3, v1, v0

    .line 223
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    aput-object v3, v1, v0

    .line 224
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mRecycleSafe:[Z

    aput-boolean v2, v1, v0

    .line 214
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 227
    :cond_2
    iput v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam1:I

    .line 228
    iput v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam2:I

    .line 229
    iput-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectInterpolator:Landroid/view/animation/Interpolator;

    .line 231
    invoke-virtual {p0, v4}, Lcom/nemustech/tiffany/world/TFEffect;->setReflectingFloor(Z)V

    .line 232
    invoke-virtual {p0, v2}, Lcom/nemustech/tiffany/world/TFEffect;->setTranslucentMode(Z)V

    .line 234
    iput-boolean v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDepthTest:Z

    .line 235
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDragMode:Z

    .line 236
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEconomic:Z

    .line 237
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBlending:Z

    .line 239
    iput-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    .line 240
    return-void
.end method

.method public isActive()Z
    .locals 1

    .prologue
    .line 802
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mActive:Z

    return v0
.end method

.method public setAnimationEventListener(Lcom/nemustech/tiffany/world/TFEffect$AnimationEventListener;)V
    .locals 0
    .parameter "animationEventListener"

    .prologue
    .line 2774
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mAnimationEventListener:Lcom/nemustech/tiffany/world/TFEffect$AnimationEventListener;

    .line 2775
    return-void
.end method

.method public setBackImage(Landroid/graphics/Bitmap;I)V
    .locals 1
    .parameter "backImage"
    .parameter "index"

    .prologue
    .line 346
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBackBitmap:[Landroid/graphics/Bitmap;

    aput-object p1, v0, p2

    .line 347
    return-void
.end method

.method public setCoverImage(Landroid/graphics/Bitmap;)V
    .locals 0
    .parameter "coverImage"

    .prologue
    .line 312
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mCoverImage:Landroid/graphics/Bitmap;

    .line 313
    return-void
.end method

.method public setDialogBitmapListener(Lcom/nemustech/tiffany/world/TFEffect$OnDialogBitmapListener;)V
    .locals 0
    .parameter "dialogBitmapListener"

    .prologue
    .line 2747
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDialogBitmapListener:Lcom/nemustech/tiffany/world/TFEffect$OnDialogBitmapListener;

    .line 2748
    return-void
.end method

.method public setDragAmount(FI)V
    .locals 4
    .parameter "t"
    .parameter "degree"

    .prologue
    .line 2862
    iget-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDragMode:Z

    if-eqz v2, :cond_0

    .line 2863
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFEffect;->isActive()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 2865
    move v1, p1

    .line 2866
    .local v1, final_t:F
    move v0, p2

    .line 2868
    .local v0, final_degree:I
    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectKind:I

    sparse-switch v2, :sswitch_data_0

    .line 2882
    .end local v0           #final_degree:I
    .end local v1           #final_t:F
    :cond_0
    :goto_0
    return-void

    .line 2874
    .restart local v0       #final_degree:I
    .restart local v1       #final_t:F
    :sswitch_0
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFPagePanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 2875
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    invoke-virtual {v2, v0}, Lcom/nemustech/tiffany/world/TFPagePanel;->setDirectionDegree(I)Z

    .line 2876
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mPageCurlPage:Lcom/nemustech/tiffany/world/TFPagePanel;

    invoke-virtual {v2, v1}, Lcom/nemustech/tiffany/world/TFPagePanel;->setTimeLine(F)Z

    goto :goto_0

    .line 2868
    nop

    :sswitch_data_0
    .sparse-switch
        0xb -> :sswitch_0
        0xd -> :sswitch_0
        0x15 -> :sswitch_0
        0x16 -> :sswitch_0
    .end sparse-switch
.end method

.method public setDragLocation(FFFF)V
    .locals 3
    .parameter "x"
    .parameter "y"
    .parameter "startX"
    .parameter "startY"

    .prologue
    .line 2856
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/nemustech/tiffany/world/TFEffect;->calcDegree(FFFF)F

    move-result v0

    .line 2857
    .local v0, degree:F
    invoke-direct {p0, p1, p2, v0}, Lcom/nemustech/tiffany/world/TFEffect;->calcTimeline(FFF)F

    move-result v1

    .line 2858
    .local v1, t:F
    float-to-int v2, v0

    invoke-virtual {p0, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect;->setDragAmount(FI)V

    .line 2859
    return-void
.end method

.method public setDragMode(Z)V
    .locals 3
    .parameter "mode"

    .prologue
    .line 2786
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDragMode:Z

    .line 2787
    const-string v0, "TFEffect"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "TFEffect setDragMode to "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDragMode:Z

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 2788
    return-void
.end method

.method public setEffectParam(II)V
    .locals 1
    .parameter "param1"
    .parameter "param2"

    .prologue
    .line 358
    const/4 v0, 0x0

    invoke-virtual {p0, p1, p2, v0}, Lcom/nemustech/tiffany/world/TFEffect;->setEffectParam(IILandroid/view/animation/Interpolator;)V

    .line 359
    return-void
.end method

.method public setEffectParam(IILandroid/view/animation/Interpolator;)V
    .locals 0
    .parameter "param1"
    .parameter "param2"
    .parameter "interpolator"

    .prologue
    .line 369
    iput p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam1:I

    .line 370
    iput p2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam2:I

    .line 371
    iput-object p3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectInterpolator:Landroid/view/animation/Interpolator;

    .line 372
    return-void
.end method

.method public setReflectingFloor(Z)V
    .locals 0
    .parameter "bExist"

    .prologue
    .line 90
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mReflectingFloorExist:Z

    .line 91
    return-void
.end method

.method public setTouchableMode(Z)V
    .locals 0
    .parameter "mode"

    .prologue
    .line 2782
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTouchableMode:Z

    .line 2783
    return-void
.end method

.method public setTranslucentMode(Z)V
    .locals 0
    .parameter "mode"

    .prologue
    .line 350
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTranslucent:Z

    .line 351
    return-void
.end method

.method public setTwistParam(Lcom/nemustech/tiffany/world/TFEffect$TwistParam;)V
    .locals 0
    .parameter "param"

    .prologue
    .line 2697
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTwistParam:Lcom/nemustech/tiffany/world/TFEffect$TwistParam;

    .line 2698
    return-void
.end method

.method public setViewOffset(II)V
    .locals 0
    .parameter "offsetX"
    .parameter "offsetY"

    .prologue
    .line 336
    iput p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewOffsetX:I

    .line 337
    iput p2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewOffsetY:I

    .line 338
    return-void
.end method

.method public showEffect(IZ)V
    .locals 8
    .parameter "effect"
    .parameter "bReversed"

    .prologue
    const/4 v7, 0x1

    const/4 v6, 0x0

    .line 464
    new-instance v3, Landroid/graphics/Rect;

    invoke-direct {v3}, Landroid/graphics/Rect;-><init>()V

    .line 465
    .local v3, visibleFrame:Landroid/graphics/Rect;
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mContext:Landroid/content/Context;

    check-cast v4, Landroid/app/Activity;

    invoke-virtual {v4}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    .line 466
    .local v0, activityWindow:Landroid/view/Window;
    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v4

    invoke-virtual {v4, v3}, Landroid/view/View;->getWindowVisibleDisplayFrame(Landroid/graphics/Rect;)V

    .line 467
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mContext:Landroid/content/Context;

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v4

    iget v1, v4, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 468
    .local v1, deviceHeight:I
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectWindow:Lcom/nemustech/tiffany/world/TFWindow;

    invoke-virtual {v4}, Lcom/nemustech/tiffany/world/TFWindow;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v4

    iget v4, v4, Landroid/view/WindowManager$LayoutParams;->flags:I

    and-int/lit16 v4, v4, 0x400

    if-eqz v4, :cond_0

    .line 469
    iput v6, v3, Landroid/graphics/Rect;->top:I

    .line 472
    :cond_0
    const v4, 0x1020016

    invoke-virtual {v0, v4}, Landroid/view/Window;->findViewById(I)Landroid/view/View;

    move-result-object v2

    .line 473
    .local v2, systemTitleView:Landroid/view/View;
    if-nez v2, :cond_1

    .line 474
    iput v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    .line 479
    :goto_0
    invoke-virtual {v3}, Landroid/graphics/Rect;->height()I

    move-result v4

    if-ne v4, v1, :cond_2

    .line 480
    iput v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarHeight:I

    .line 481
    iput v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarStatus:I

    .line 493
    :goto_1
    const-string v4, "TFEffect"

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "Status bar : "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarHeight:I

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, " title:"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 495
    invoke-virtual {v3}, Landroid/graphics/Rect;->width()I

    move-result v4

    iput v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    .line 496
    invoke-virtual {v3}, Landroid/graphics/Rect;->height()I

    move-result v4

    iget v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    sub-int/2addr v4, v5

    iput v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewHeight:I

    .line 498
    invoke-direct {p0, p1}, Lcom/nemustech/tiffany/world/TFEffect;->is2DEffect(I)Z

    move-result v4

    if-ne v4, v7, :cond_4

    .line 499
    invoke-virtual {p0, p1, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffect2D(IZ)V

    .line 503
    :goto_2
    return-void

    .line 476
    :cond_1
    const v4, 0x1020002

    invoke-virtual {v0, v4}, Landroid/view/Window;->findViewById(I)Landroid/view/View;

    move-result-object v4

    invoke-virtual {v4}, Landroid/view/View;->getTop()I

    move-result v4

    iget v5, v3, Landroid/graphics/Rect;->top:I

    sub-int/2addr v4, v5

    iput v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    goto :goto_0

    .line 484
    :cond_2
    iget v4, v3, Landroid/graphics/Rect;->top:I

    if-nez v4, :cond_3

    .line 485
    invoke-virtual {v3}, Landroid/graphics/Rect;->height()I

    move-result v4

    sub-int v4, v1, v4

    iput v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarHeight:I

    .line 486
    const/4 v4, 0x2

    iput v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarStatus:I

    goto :goto_1

    .line 488
    :cond_3
    iget v4, v3, Landroid/graphics/Rect;->top:I

    iput v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarHeight:I

    .line 489
    iput v7, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarStatus:I

    goto :goto_1

    .line 501
    :cond_4
    invoke-virtual {p0, p1, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffect3D(IZ)V

    goto :goto_2
.end method

.method public showEffect2D(IZ)V
    .locals 5
    .parameter "effect"
    .parameter "bReversed"

    .prologue
    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 506
    iput v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectWindowCleaningCnt:I

    .line 508
    if-eqz p2, :cond_0

    .line 509
    iput v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    .line 510
    iput v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    .line 516
    :goto_0
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v0, v0, v3

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    aget-object v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    .line 517
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v0, v0, v4

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    aget-object v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    .line 520
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDecorLayout:Landroid/widget/FrameLayout;

    const/16 v1, 0xff

    invoke-static {v1, v3, v3, v3}, Landroid/graphics/Color;->argb(IIII)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setBackgroundColor(I)V

    .line 522
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDecorLayout:Landroid/widget/FrameLayout;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v1, v1, v3

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 523
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDecorLayout:Landroid/widget/FrameLayout;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChild2DView:[Landroid/widget/ImageView;

    aget-object v1, v1, v4

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 525
    packed-switch p1, :pswitch_data_0

    .line 550
    :goto_1
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFEffect;->setAnimationWindow()V

    .line 551
    return-void

    .line 512
    :cond_0
    iput v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    .line 513
    iput v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    goto :goto_0

    .line 528
    :pswitch_0
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectDiagonalFling(Z)V

    goto :goto_1

    .line 531
    :pswitch_1
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectDiagonalScale(Z)V

    goto :goto_1

    .line 534
    :pswitch_2
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectProjectorBoardUp(Z)V

    goto :goto_1

    .line 537
    :pswitch_3
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectProjectorBoardDown(Z)V

    goto :goto_1

    .line 540
    :pswitch_4
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectCenterZoom(Z)V

    goto :goto_1

    .line 543
    :pswitch_5
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectLineZoom(Z)V

    goto :goto_1

    .line 525
    nop

    :pswitch_data_0
    .packed-switch 0xe
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method

.method public showEffect3D(IZ)V
    .locals 9
    .parameter "effect"
    .parameter "bReversed"

    .prologue
    const/high16 v8, 0x3fc0

    const/4 v7, 0x0

    const/4 v6, 0x1

    const/4 v5, 0x0

    .line 555
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mActive:Z

    if-ne v1, v6, :cond_0

    .line 769
    :goto_0
    return-void

    .line 557
    :cond_0
    iput p1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectKind:I

    .line 558
    iput-boolean p2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mReverse:Z

    .line 559
    iput-boolean v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mOneWayAnimation:Z

    .line 561
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mReverse:Z

    if-eqz v1, :cond_2

    .line 563
    iput v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    .line 564
    iput v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    .line 572
    :goto_1
    iput-boolean v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mActive:Z

    .line 573
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    iput-wide v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartTick:J

    .line 574
    const-string v1, "TFEffect"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "showEffect start on "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-wide v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartTick:J

    invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 576
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aget-object v1, v1, v5

    invoke-virtual {v1}, Landroid/view/View;->getWidth()I

    move-result v1

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    if-ne v1, v2, :cond_3

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildView:[Landroid/view/View;

    aget-object v1, v1, v5

    invoke-virtual {v1}, Landroid/view/View;->getHeight()I

    move-result v1

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewHeight:I

    if-ne v1, v2, :cond_3

    .line 577
    iput-boolean v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildViewUseFull:Z

    .line 583
    :goto_2
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mCoverImage:Landroid/graphics/Bitmap;

    if-nez v1, :cond_5

    .line 584
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildViewUseFull:Z

    if-nez v1, :cond_4

    .line 585
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mActivityWindow:Landroid/view/Window;

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v6}, Landroid/view/View;->setDrawingCacheEnabled(Z)V

    .line 586
    const/4 v0, 0x0

    .line 587
    .local v0, decorImage:Landroid/graphics/Bitmap;
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarStatus:I

    packed-switch v1, :pswitch_data_0

    .line 605
    :goto_3
    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mContext:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-direct {v1, v2, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBD:Landroid/graphics/drawable/Drawable;

    .line 615
    .end local v0           #decorImage:Landroid/graphics/Bitmap;
    :goto_4
    new-instance v1, Lcom/nemustech/tiffany/world/TFView;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mContext:Landroid/content/Context;

    invoke-direct {v1, v2}, Lcom/nemustech/tiffany/world/TFView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    .line 617
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBD:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 618
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDecorLayout:Landroid/widget/FrameLayout;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 625
    new-instance v1, Lcom/nemustech/tiffany/world/TFWorld;

    const/high16 v2, 0x4120

    invoke-direct {v1, v8, v8, v2}, Lcom/nemustech/tiffany/world/TFWorld;-><init>(FFF)V

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    .line 626
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFWorld;->lock()V

    .line 628
    const-string v1, "TFEffect"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "view width:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " view height:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewHeight:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 630
    const/high16 v1, 0x3f80

    iput v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelWidth:F

    .line 631
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewHeight:I

    int-to-float v1, v1

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    int-to-float v2, v2

    div-float/2addr v1, v2

    iput v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    .line 636
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    new-instance v2, Lcom/nemustech/tiffany/world/TFEffect$2;

    invoke-direct {v2, p0}, Lcom/nemustech/tiffany/world/TFEffect$2;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFWorld;->setViewSizeChangeListener(Lcom/nemustech/tiffany/world/TFWorld$OnViewSizeChangeListener;)V

    .line 646
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    new-instance v2, Lcom/nemustech/tiffany/world/TFEffect$3;

    invoke-direct {v2, p0}, Lcom/nemustech/tiffany/world/TFEffect$3;-><init>(Lcom/nemustech/tiffany/world/TFEffect;)V

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFWorld;->setPostDrawListener(Ljava/lang/Runnable;)V

    .line 690
    packed-switch p1, :pswitch_data_1

    .line 747
    :goto_5
    :pswitch_0
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFEffect;->setAnimationWindow()V

    .line 750
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v1, v6}, Lcom/nemustech/tiffany/world/TFWorld;->banQueryingMatrix(Z)Z

    .line 751
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTranslucent:Z

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFWorld;->setTranslucentMode(Z)V

    .line 752
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTranslucent:Z

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v1, v7, v7, v7, v7}, Lcom/nemustech/tiffany/world/TFWorld;->setBackgroundColor(FFFF)V

    .line 754
    :cond_1
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mReflectingFloorExist:Z

    if-eqz v1, :cond_6

    .line 756
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mUnitPanelHeight:F

    neg-float v2, v2

    const/high16 v3, 0x4000

    div-float/2addr v2, v3

    const/high16 v3, 0x3f00

    invoke-virtual {v1, v2, v3}, Lcom/nemustech/tiffany/world/TFWorld;->addReflectingFloor(FF)V

    .line 763
    :goto_6
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mDepthTest:Z

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFWorld;->setDepthTestMode(Z)V

    .line 764
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEconomic:Z

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFWorld;->setEconomicMode(Z)V

    .line 765
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget-boolean v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBlending:Z

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFWorld;->setBlendingMode(Z)V

    .line 768
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mSurfaceView:Lcom/nemustech/tiffany/world/TFView;

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFWorld;->show(Landroid/view/View;)Lcom/nemustech/tiffany/world/TFError;

    goto/16 :goto_0

    .line 568
    :cond_2
    iput v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    .line 569
    iput v6, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEndIndex:I

    goto/16 :goto_1

    .line 579
    :cond_3
    iput-boolean v5, p0, Lcom/nemustech/tiffany/world/TFEffect;->mChildViewUseFull:Z

    goto/16 :goto_2

    .line 590
    .restart local v0       #decorImage:Landroid/graphics/Bitmap;
    :pswitch_1
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mActivityWindow:Landroid/view/Window;

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/View;->getDrawingCache()Landroid/graphics/Bitmap;

    move-result-object v1

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStatusBarHeight:I

    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    add-int/2addr v2, v3

    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    iget v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewHeight:I

    invoke-static {v1, v5, v2, v3, v4}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIII)Landroid/graphics/Bitmap;

    move-result-object v0

    .line 595
    goto/16 :goto_3

    .line 597
    :pswitch_2
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mActivityWindow:Landroid/view/Window;

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/View;->getDrawingCache()Landroid/graphics/Bitmap;

    move-result-object v1

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mTitleHeight:I

    iget v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewWidth:I

    iget v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mViewHeight:I

    invoke-static {v1, v5, v2, v3, v4}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIII)Landroid/graphics/Bitmap;

    move-result-object v0

    goto/16 :goto_3

    .line 608
    .end local v0           #decorImage:Landroid/graphics/Bitmap;
    :cond_4
    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mContext:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBitmap:[Landroid/graphics/Bitmap;

    iget v4, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStartIndex:I

    aget-object v3, v3, v4

    invoke-direct {v1, v2, v3}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBD:Landroid/graphics/drawable/Drawable;

    goto/16 :goto_4

    .line 613
    :cond_5
    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mContext:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mCoverImage:Landroid/graphics/Bitmap;

    invoke-direct {v1, v2, v3}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mBD:Landroid/graphics/drawable/Drawable;

    goto/16 :goto_4

    .line 693
    :pswitch_3
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectFlip(Z)V

    goto/16 :goto_5

    .line 696
    :pswitch_4
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectMosaic(Z)V

    goto/16 :goto_5

    .line 699
    :pswitch_5
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectReplace()V

    goto/16 :goto_5

    .line 702
    :pswitch_6
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectRevolvingDoor()V

    goto/16 :goto_5

    .line 705
    :pswitch_7
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectEntranceDoor()V

    goto/16 :goto_5

    .line 708
    :pswitch_8
    invoke-direct {p0}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectAskew()V

    goto/16 :goto_5

    .line 711
    :pswitch_9
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectVerticalColumn(Z)V

    goto/16 :goto_5

    .line 714
    :pswitch_a
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectHorizontalRow(Z)V

    goto/16 :goto_5

    .line 717
    :pswitch_b
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectTwist(Z)V

    goto/16 :goto_5

    .line 720
    :pswitch_c
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectHorizontalCube(Z)V

    goto/16 :goto_5

    .line 723
    :pswitch_d
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectVerticalPageOver(Z)V

    goto/16 :goto_5

    .line 726
    :pswitch_e
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam1:I

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam2:I

    invoke-direct {p0, p2, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectPageOver_PagePanel(ZII)V

    goto/16 :goto_5

    .line 729
    :pswitch_f
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectSink_FlexiblePanel(Z)V

    goto/16 :goto_5

    .line 732
    :pswitch_10
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam1:I

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam2:I

    invoke-direct {p0, p2, v1, v2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectPageOver_Sticker(ZII)V

    goto/16 :goto_5

    .line 735
    :pswitch_11
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectGenie_FlexiblePanel(Z)V

    goto/16 :goto_5

    .line 738
    :pswitch_12
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam1:I

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam2:I

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectInterpolator:Landroid/view/animation/Interpolator;

    invoke-direct {p0, p2, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectPageCurl(ZIILandroid/view/animation/Interpolator;)V

    goto/16 :goto_5

    .line 741
    :pswitch_13
    iget v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam1:I

    iget v2, p0, Lcom/nemustech/tiffany/world/TFEffect;->mParam2:I

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFEffect;->mEffectInterpolator:Landroid/view/animation/Interpolator;

    invoke-direct {p0, p2, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFEffect;->showEffectPageCurlTrans(ZIILandroid/view/animation/Interpolator;)V

    goto/16 :goto_5

    .line 760
    :cond_6
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFWorld;->removeReflectingFloor()V

    goto/16 :goto_6

    .line 587
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_1
        :pswitch_2
    .end packed-switch

    .line 690
    :pswitch_data_1
    .packed-switch 0x0
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_c
        :pswitch_d
        :pswitch_e
        :pswitch_f
        :pswitch_10
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_11
        :pswitch_12
        :pswitch_13
    .end packed-switch
.end method

.method public stop()V
    .locals 13

    .prologue
    const/4 v12, 0x1

    .line 387
    iget-boolean v11, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStopping:Z

    if-ne v11, v12, :cond_0

    .line 388
    const-string v11, "TFEffect"

    const-string v12, "TFEffect.stop() called but previous action is working"

    invoke-static {v11, v12}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 453
    :goto_0
    return-void

    .line 391
    :cond_0
    iput-boolean v12, p0, Lcom/nemustech/tiffany/world/TFEffect;->mStopping:Z

    .line 393
    iget-object v11, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    if-nez v11, :cond_1

    .line 395
    const-string v11, "TFEffect"

    const-string v12, "TFEffect.stop() called but there was no tiffany world."

    invoke-static {v11, v12}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0

    .line 400
    :cond_1
    const/4 v1, 0x0

    .line 403
    .local v1, count:I
    iget-object v11, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v11}, Lcom/nemustech/tiffany/world/TFWorld;->getLayerCount()I

    move-result v9

    .line 406
    .local v9, numLayer:I
    const/4 v6, 0x0

    .local v6, l:I
    :goto_1
    if-ge v6, v9, :cond_4

    .line 408
    iget-object v11, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v11, v6}, Lcom/nemustech/tiffany/world/TFWorld;->getLayer(I)Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v7

    .line 410
    .local v7, layer:Ljava/util/LinkedList;,"Ljava/util/LinkedList<Lcom/nemustech/tiffany/world/TFObject;>;"
    invoke-virtual {v7}, Ljava/util/LinkedList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    .local v3, i$:Ljava/util/Iterator;
    :goto_2
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v11

    if-eqz v11, :cond_3

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Lcom/nemustech/tiffany/world/TFObject;

    .line 412
    .local v10, o:Lcom/nemustech/tiffany/world/TFObject;
    instance-of v11, v10, Lcom/nemustech/tiffany/world/TFHolder;

    if-eqz v11, :cond_2

    .line 414
    move-object v0, v10

    check-cast v0, Lcom/nemustech/tiffany/world/TFHolder;

    move-object v2, v0

    .line 415
    .local v2, h:Lcom/nemustech/tiffany/world/TFHolder;
    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFHolder;->getSlotCount()I

    move-result v11

    add-int/2addr v1, v11

    goto :goto_2

    .line 419
    .end local v2           #h:Lcom/nemustech/tiffany/world/TFHolder;
    :cond_2
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    .line 406
    .end local v10           #o:Lcom/nemustech/tiffany/world/TFObject;
    :cond_3
    add-int/lit8 v6, v6, 0x1

    goto :goto_1

    .line 425
    .end local v3           #i$:Ljava/util/Iterator;
    .end local v7           #layer:Ljava/util/LinkedList;,"Ljava/util/LinkedList<Lcom/nemustech/tiffany/world/TFObject;>;"
    :cond_4
    const/4 v4, 0x0

    .line 426
    .local v4, index:I
    new-array v8, v1, [Lcom/nemustech/tiffany/world/TFModel;

    .line 428
    .local v8, modelsToBeDetached:[Lcom/nemustech/tiffany/world/TFModel;
    const/4 v6, 0x0

    :goto_3
    if-ge v6, v9, :cond_8

    .line 430
    iget-object v11, p0, Lcom/nemustech/tiffany/world/TFEffect;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v11, v6}, Lcom/nemustech/tiffany/world/TFWorld;->getLayer(I)Lcom/nemustech/tiffany/world/TFWorld$Layer;

    move-result-object v7

    .line 432
    .restart local v7       #layer:Ljava/util/LinkedList;,"Ljava/util/LinkedList<Lcom/nemustech/tiffany/world/TFObject;>;"
    invoke-virtual {v7}, Ljava/util/LinkedList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    .restart local v3       #i$:Ljava/util/Iterator;
    :cond_5
    :goto_4
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v11

    if-eqz v11, :cond_7

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Lcom/nemustech/tiffany/world/TFObject;

    .line 434
    .restart local v10       #o:Lcom/nemustech/tiffany/world/TFObject;
    instance-of v11, v10, Lcom/nemustech/tiffany/world/TFHolder;

    if-eqz v11, :cond_6

    .line 436
    move-object v0, v10

    check-cast v0, Lcom/nemustech/tiffany/world/TFHolder;

    move-object v2, v0

    .line 437
    .restart local v2       #h:Lcom/nemustech/tiffany/world/TFHolder;
    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFHolder;->getSlotCount()I

    move-result v1

    .line 439
    const/4 v5, 0x0

    .local v5, j:I
    :goto_5
    if-ge v5, v1, :cond_5

    .line 440
    invoke-virtual {v2, v5}, Lcom/nemustech/tiffany/world/TFHolder;->getModelInSlot(I)Lcom/nemustech/tiffany/world/TFModel;

    move-result-object v11

    aput-object v11, v8, v4

    .line 441
    add-int/lit8 v4, v4, 0x1

    .line 439
    add-int/lit8 v5, v5, 0x1

    goto :goto_5

    .line 446
    .end local v2           #h:Lcom/nemustech/tiffany/world/TFHolder;
    .end local v5           #j:I
    :cond_6
    check-cast v10, Lcom/nemustech/tiffany/world/TFModel;

    .end local v10           #o:Lcom/nemustech/tiffany/world/TFObject;
    aput-object v10, v8, v4

    .line 447
    add-int/lit8 v4, v4, 0x1

    goto :goto_4

    .line 428
    :cond_7
    add-int/lit8 v6, v6, 0x1

    goto :goto_3

    .line 452
    .end local v3           #i$:Ljava/util/Iterator;
    .end local v7           #layer:Ljava/util/LinkedList;,"Ljava/util/LinkedList<Lcom/nemustech/tiffany/world/TFObject;>;"
    :cond_8
    invoke-direct {p0, v8}, Lcom/nemustech/tiffany/world/TFEffect;->prvOnFinishEffect([Lcom/nemustech/tiffany/world/TFModel;)V

    goto/16 :goto_0
.end method
